Nom de l’application : Discourse Login
Site web de l’application : https://<VOTRE_DISCOURSE>/auth/oauth2_basic/callback
URI de redirection : https://<VOTRE_DISCOURSE>/auth/oauth2_basic/callback
Configurez le plugin OAuth2 sur Discourse
oauth2 client id : Votre clé client de l’application Mastodon
oauth2 client secret : Votre secret client de l’application Mastodon
oauth2 authorize url : https://<VOTRE_MASTODON>/oauth/authorize
oauth2 token url : https://<VOTRE_MASTODON>/oauth/token
oauth2 user json url : https://<VOTRE_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