-
Installieren Sie dieses Plugin, um OAuth2 zu aktivieren
GitHub - discourse/discourse-oauth2-basic: A basic OAuth2 plugin for use with Discourse · GitHub
-
Erstellen Sie eine Anwendung auf Mastodon
Anwendungsname: Discourse Login
Anwendungswebsite: https://<YOUR_DISCOURSE>/auth/oauth2_basic/callback
Redirect-URI: https://<YOUR_DISCOURSE>/auth/oauth2_basic/callback
- Richten Sie das OAuth2-Plugin in Discourse ein
oauth2 client id: Ihr Mastodon-App-Client-Schlüssel
oauth2 client secret: Ihr Mastodon-App-Client-Geheimnis
oauth2 authorize url: https://<YOUR_MASTODON>/oauth/authorize
oauth2 token url: https://<YOUR_MASTODON>/oauth/token
oauth2 user json url: https://<YOUR_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
Verwandter Thread: