sunjam
(james.network)
14. August 2020 um 19:48
2
Das ist eine andere Art der Föderation, bei der Discourse mit Tools wie Mastodon im Zusammenhang mit Beiträgen und Antworten verbunden wird (im Gegensatz zur Anmeldung).
Du solltest dir Discourse SSO ansehen, das in verschiedenen Themen auf Meta diskutiert wird.
DiscourseConnect is a core Discourse feature that allows you to configure “Single Sign-On (SSO)” to completely outsource all user registration and login from Discourse to another site. Offered to our pro, business and enterprise hosting customers .
(Feb 2021) ‘Discourse SSO ’ is now ‘DiscourseConnect ’. If you are running an old version of Discourse, the settings below will be named sso_... rather than discourse_connect_...
The Problem
Many sites wishing to integrate wit…
So you want to use Discourse as an identity provider for your own web app? Great! Let’s get started.
Enable DiscourseConnect provider setting
Under Discourse admin site settings (/admin/site_settings) enable setting enable discourse connect provider and add a secret string to discourse connect provider secrets (used to hash SSO payloads).
Implement DiscourseConnect in your web app:
Generate a random nonce . Let’s call this value NONCE. Save it temporarily so that you can verify it with the …
1 „Gefällt mir“