sunjam
(james.network)
Agosto 14, 2020, 7:48pm
2
Isso é um tipo diferente de federação, conectando o Discourse a ferramentas como o Mastodon relacionadas a publicações e respostas (em oposição ao login).
Você deve verificar o Discourse SSO , que está sendo discutido em vários tópicos no meta.
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 curtida