Skip to Content
API ReferenceClientInterfacesInterface: AuthgearProviderProps

@authgear/nextjs


@authgear/nextjs / client / AuthgearProviderProps

Interface: AuthgearProviderProps

Defined in: src/components/AuthgearProvider.tsx:36 

Properties

children

children: ReactNode

Defined in: src/components/AuthgearProvider.tsx:37 


loginPath?

optional loginPath: string

Defined in: src/components/AuthgearProvider.tsx:41 

Path to the login route. Defaults to “/api/auth/login”.


logoutPath?

optional logoutPath: string

Defined in: src/components/AuthgearProvider.tsx:43 

Path to the logout route. Defaults to “/api/auth/logout”.


openPagePath?

optional openPagePath: string

Defined in: src/components/AuthgearProvider.tsx:45 

Path to the open-page route handler. Defaults to “/api/auth/open”.


userInfoPath?

optional userInfoPath: string

Defined in: src/components/AuthgearProvider.tsx:39 

Path to the userinfo API route. Defaults to “/api/auth/userinfo”.

Last updated on