🔐 Autenticação OAuth2 com Yandex ID para Discourse

:information_source: Summary This plugin enables OAuth2 login via Yandex ID for your Discourse forum, allowing users to authenticate seamlessly using their Yandex accounts.
:hammer_and_wrench: Repository Link GitHub - kaktaknet/discourse-yandex-oauth: 🔐 Yandex ID Authentication for Discourse. OAuth2 authentication plugin for Discourse using Yandex ID
:open_book: Install Guide How to install plugins in Discourse

Features

  • Secure OAuth 2.0 authentication flow with Yandex ID
  • One-click user login and automatic account creation
  • Email verification via Yandex
  • Avatar import from Yandex profile
  • Account linking by email
  • Username sanitization and validation
  • Comprehensive error handling and detailed logging
  • Multilingual support (English, Russian)
  • Easy integration with simple setup and clear documentation

Configuration

  1. Register your application on Yandex OAuth

    • Visit Yandex OAuth, create a new application.
    • Add your Discourse site’s callback URL:
      https://your-discourse-domain.com/auth/yandex/callback
      
    • Enable the following permissions:
      • login:email
      • login:info
      • login:avatar
  2. Add the plugin to your container

  3. Rebuild your Discourse app

cd /var/discourse
./launcher rebuild app
  1. Configure settings in the Discourse Admin panel
  • Navigate to: Admin > Settings > Login > Yandex
  • Fill in the required fields using the Client ID and Secret provided by Yandex OAuth.

Settings

Name Description
yandex_enabled Enable or disable Yandex authentication
yandex_client_id OAuth Client ID from your Yandex App
yandex_client_secret OAuth Client Secret from your Yandex App
yandex_email_verified Trust email verification from Yandex
1 curtida