FEATURE: implement SSO provider on Discourse so Auth can be farmed to it

FEATURE: pass return_sso_url to SSO endpoints, for easier return
This commit is contained in:
Sam
2014-11-26 17:25:54 +11:00
parent 12e587c9b3
commit c10e3df012
8 changed files with 74 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
class SingleSignOn
ACCESSORS = [:nonce, :name, :username, :email, :avatar_url, :avatar_force_update,
:about_me, :external_id]
:about_me, :external_id, :return_sso_url]
FIXNUMS = []
NONCE_EXPIRY_TIME = 10.minutes