sunjam
(james.network)
14 Agosto, 2020 19:48
2
Ese es un tipo diferente de federación, que conecta Discourse con herramientas como Mastodon en relación con publicaciones y respuestas (en lugar de iniciar sesión).
Deberías revisar Discourse SSO , que se está discutiendo en varios temas en 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 me gusta