Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

Osu Provider

Resources

Setup

Callback URL

https://example.com/api/auth/callback/osu

Environment Variables

AUTH_OSU_ID
AUTH_OSU_SECRET

Configuration

/auth.ts
import NextAuth from "next-auth"
import Osu from "next-auth/providers/osu"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Osu],
})

Notes

  • osu! does not provide a user email.
Auth.js © Balázs Orbán and Team - 2024