Concepts, value, and typical clone scenarios — less code.
Concepts, value, and typical clone scenarios — less code.
Підготовка контенту платформи Ring
Підготовка контенту платформи Ring
Підготовка контенту платформи Ring
Use Founder / Developer tabs in the docs sidebar to filter this page.
Ring uses Auth.js v5 for sessions and multi-provider sign-in. Product overview: Authentication. Architecture: Authentication Architecture.
| Provider | Notes |
|---|---|
| OAuth redirect + One Tap | |
| Telegram (web) | OIDC via oauth.telegram.org when AUTH_TELEGRAM_* set |
| Telegram Mini App | Credentials telegram-miniapp — WebAppData HMAC on initData |
| Apple | Sign in with Apple |
| Ring Mailer | OTP / magic link / password Credentials |
| Crypto wallet | Nonce + signature Credentials |
AUTH_SECRET.TELEGRAM_MINI_APP_BOT_TOKEN preferred); there is no stock platform Mini App shell page.Prerequisite: which providers ship and how Telegram Login + Mini App are enabled.
Deep-dive: adapters, OIDC + Mini App modules, and env wiring.
Next-step: code samples for signIn and SessionProvider.
See-also: telegram_stars membership invoices share the Mini App bot token.
Use Founder / Developer tabs in the docs sidebar to filter this page.
Ring uses Auth.js v5 for sessions and multi-provider sign-in. Product overview: Authentication. Architecture: Authentication Architecture.
| Provider | Notes |
|---|---|
| OAuth redirect + One Tap | |
| Telegram (web) | OIDC via oauth.telegram.org when AUTH_TELEGRAM_* set |
| Telegram Mini App | Credentials telegram-miniapp — WebAppData HMAC on initData |
| Apple | Sign in with Apple |
| Ring Mailer | OTP / magic link / password Credentials |
| Crypto wallet | Nonce + signature Credentials |
AUTH_SECRET.TELEGRAM_MINI_APP_BOT_TOKEN preferred); there is no stock platform Mini App shell page.Prerequisite: which providers ship and how Telegram Login + Mini App are enabled.
Deep-dive: adapters, OIDC + Mini App modules, and env wiring.
Next-step: code samples for signIn and SessionProvider.
See-also: telegram_stars membership invoices share the Mini App bot token.
Use Founder / Developer tabs in the docs sidebar to filter this page.
Ring uses Auth.js v5 for sessions and multi-provider sign-in. Product overview: Authentication. Architecture: Authentication Architecture.
| Provider | Notes |
|---|---|
| OAuth redirect + One Tap | |
| Telegram (web) | OIDC via oauth.telegram.org when AUTH_TELEGRAM_* set |
| Telegram Mini App | Credentials telegram-miniapp — WebAppData HMAC on initData |
| Apple | Sign in with Apple |
| Ring Mailer | OTP / magic link / password Credentials |
| Crypto wallet | Nonce + signature Credentials |
AUTH_SECRET.TELEGRAM_MINI_APP_BOT_TOKEN preferred); there is no stock platform Mini App shell page.Prerequisite: which providers ship and how Telegram Login + Mini App are enabled.
Deep-dive: adapters, OIDC + Mini App modules, and env wiring.
Next-step: code samples for signIn and SessionProvider.
See-also: telegram_stars membership invoices share the Mini App bot token.
Canonical labels live in features/auth/user-role.ts (visitor → subscriber → member → confidential → admin → superadmin). Prefer useAuth() / hasRole helpers over hard-coding string compares in UI.
__Secure- cookie prefix in productionSHA256(bot_token) HMAC; Mini App: WebAppData HMAC — never mix the threeid_tokens, or raw initDataSee-also: admin bot — not member OIDC or Mini App Credentials.
Canonical labels live in features/auth/user-role.ts (visitor → subscriber → member → confidential → admin → superadmin). Prefer useAuth() / hasRole helpers over hard-coding string compares in UI.
__Secure- cookie prefix in productionSHA256(bot_token) HMAC; Mini App: WebAppData HMAC — never mix the threeid_tokens, or raw initDataSee-also: admin bot — not member OIDC or Mini App Credentials.
Canonical labels live in features/auth/user-role.ts (visitor → subscriber → member → confidential → admin → superadmin). Prefer useAuth() / hasRole helpers over hard-coding string compares in UI.
__Secure- cookie prefix in productionSHA256(bot_token) HMAC; Mini App: WebAppData HMAC — never mix the threeid_tokens, or raw initDataSee-also: admin bot — not member OIDC or Mini App Credentials.