Social Login¶
Social login allows users to authenticate using their existing accounts from popular platforms like Google, Yandex, Telegram and others.
To enable social login, you need to register your application with the respective social platform and obtain client credentials. Then, you can configure FastID to use these credentials.
Google¶
Visit https://console.cloud.google.com/apis/credentials to obtain client credentials.
Add the following to your .env file:
FASTID_GOOGLE_OAUTH_ENABLED=1
FASTID_GOOGLE_CLIENT_ID=...
FASTID_GOOGLE_CLIENT_SECRET=...

Yandex¶
Visit https://oauth.yandex.ru to obtain client credentials.
Add the following to your .env file:
FASTID_YANDEX_OAUTH_ENABLED=1
FASTID_YANDEX_CLIENT_ID=...
FASTID_YANDEX_CLIENT_SECRET=...

Telegram¶
Visit https://t.me/BotFather to create a new bot and obtain the token. Set the domain for the bot in the BotFather settings.
Add the following to your .env file:
FASTID_TELEGRAM_OAUTH_ENABLED=1
FASTID_TELEGRAM_BOT_TOKEN=...
