なぜ認証プロバイダーとしてDiscourseを使用しないのですか?
Distrust: Discourse as an OpenID Connect provider - plugin / extras - Discourse Meta