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

Webex Provider

Resources

Setup

Callback URL

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

Environment Variables

AUTH_WEBEX_ID
AUTH_WEBEX_SECRET

Configuration

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

Notes

  • The returned user profile from Webex when using the profile callback. Please refer to People - Get My Own Details on Webex Developer portal for additional fields. Returned fields may vary depending on the user’s role, the OAuth integration’s scope, and the organization the OAuth integration belongs to.
Auth.js © Balázs Orbán and Team - 2024