Is there any way to integrate mastodon login on disocurse? If yes then how can I do that.
Doesnt look like it is possible at the moment but there has been discussion on it here:
https://discourse.joinmastodon.org/t/single-sign-on-with-discourse/766
-
Installa questo plugin per abilitare OAuth2
GitHub - discourse/discourse-oauth2-basic: A basic OAuth2 plugin for use with Discourse · GitHub -
Crea un’applicazione su Mastodon
Nome applicazione: Discourse Login
Sito web dell’applicazione: https://<TUO_DISCOURSE>/auth/oauth2_basic/callback
URI di reindirizzamento: https://<TUO_DISCOURSE>/auth/oauth2_basic/callback
- Configura il plugin OAuth2 su Discourse
oauth2 client id: La chiave client della tua app Mastodon
oauth2 client secret: Il segreto client della tua app Mastodon
oauth2 authorize url: https://<TUO_MASTODON>/oauth/authorize
oauth2 token url: https://<TUO_MASTODON>/oauth/token
oauth2 user json url: https://<TUO_MASTODON>/api/v1/accounts/verify_credentials
oauth2 json user id path: id
oauth2 json username path: username
oauth2 json name path: display_name
oauth2 json avatar path: avatar
Discussione correlata: