OneLogin Provider
Resources
Setup
Callback URL
https://example.com/api/auth/callback/oneloginEnvironment Variables
AUTH_ONELOGIN_ID
AUTH_ONELOGIN_SECRETConfiguration
/auth.ts
import NextAuth from "next-auth"
import OneLogin from "next-auth/providers/onelogin"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [OneLogin],
})