Skip to Content
API ReferenceClientInterfacesInterface: AuthgearProviderProps

@authgear/nextjs


@authgear/nextjs / client / AuthgearProviderProps

Interface: AuthgearProviderProps

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

Properties

children

children: ReactNode

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


loginPath?

optional loginPath: string

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

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


logoutPath?

optional logoutPath: string

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

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


openPagePath?

optional openPagePath: string

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

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


userInfoPath?

optional userInfoPath: string

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

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

Last updated on