Yandex Provider
Resources
- Yandex - Creating an OAuth app
 - Yandex - Manage OAuth apps
 - Yandex - OAuth documentation
 - Learn more about OAuth
 - Source code
 
Setup
Callback URL
https://example.com/api/auth/callback/yandexEnvironment Variables
AUTH_YANDEX_ID
AUTH_YANDEX_SECRET
Configuration
/auth.ts
import NextAuth from "next-auth"
import Yandex from "next-auth/providers/yandex"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Yandex],
})