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
-
OAuth2를 활성화하려면 이 플러그인을 설치하세요
GitHub - discourse/discourse-oauth2-basic: A basic OAuth2 plugin for use with Discourse · GitHub -
Mastodon에서 애플리케이션을 생성하세요
애플리케이션 이름: Discourse Login
애플리케이션 웹사이트:https://<YOUR_DISCOURSE>/auth/oauth2_basic/callback
리다이렉트 URI: https://<YOUR_DISCOURSE>/auth/oauth2_basic/callback
- Discourse에서 OAuth2 플러그인을 설정하세요
oauth2 client id: Mastodon 앱 클라이언트 키
oauth2 client secret: Mastodon 앱 클라이언트 시크릿
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
관련 스레드: