Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discourse Example SSO Endpoint

This a very simple sso endpoint to use for development and to learn how Discourse Single-Sign-On works. Please refer to the Official Single-Sign-On Docs for more info.

If you would like to get this SSO Endpoint running locally follow these steps:

  1. Get Discourse running locally in development mode
  2. Clone this repo
  3. cd sso_endpoint
  4. bundle install
  5. Start the server with this command: rackup --host 0.0.0.0
  6. Setup SSO on your Discourse instance
  7. enable_sso = true
  8. sso_url = http://localhost:9292/sso
  9. sso_secret = abcdefghij
  10. Browse to http://localhost:3000 and then login. You will be redirect to the SSO Endpoint and a random new user will be returned and created inside of discourse with an external_id.

About

Discourse Example SSO Endpoint

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages