Simple frappe app to setup Single sign-on for discource.
Run the following command to install the app
bench get-app https://github.com/shridarpatil/frappe_discourse.git
bench install-app frappe_discourse
Register a client in Discourse Settings
DocType with client id, client secret and sso secret.
Next: Add the url in discouse sso with parameter client.
https://<sitename>/api/method/frappe_discourse.frappe_discourse.doctype.discourse_settings.discourse_settings.discourse_login?client=<token>
token is base64 incoded string of client id and client secret b64encode(client_id:client_secret)
MIT# frappe_discourse