Skip to content

pelith/discourse-eauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eauth Authentication Plugin

This plugin adds support for logging in to a Discourse site via Eauth.

Installation

  1. Follow the directions at Install a Plugin using https://github.com/pelith/discourse-eauth as the repository URL. (use git clone https://github.com/pelith/discourse-eauth.git --branch ENS for app.yml if you want to use ENS as username)
  2. Rebuild the app using ./launcher rebuild app
  3. In your Discourse instance, go to Site Settings, filter by "Eauth".
  4. Check the "eauth enabled" checkbox, and you're done!

Integration

  1. Install discourse-eauth plugin by following this guide.

  2. Enable the plugin at /admin/site_settings/category/plugins. Setup Plugin Configs

  3. Set max username length up to 42. Remember to setup username change period if you're allowing users to edit their username instead of using the address they registered. username length edit username

  4. Setup OAuth client, insert client_id and client_secret set in step 2 to oauth_clients table of node-eauth-server and use http://your_discourse.domain/auth/eauthoauth2/callback as your OAuth redirect_uri

  5. Enable local logins

  6. Enable local username and password login based accounts. WARNING: if disabled, you may be unable to log in if you have not previously configured at least one alternate login method.

  7. Enable local logins via email

  8. Allow users to request a one-click login link to be sent to them via email.

  9. Enable signup cta

  10. Show a notice to returning anonymous users prompting them to sign up for an account.

  11. Finally, enjoy!

Notes

For issues and requests: https://github.com/pelith/discourse-eauth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages