ThirdwebAuthConfig interface
This feature is currently in beta and may change based on feedback that we receive.
The configuration to use the react SDK with an [auth](https://portal.thirdweb.com/auth) server.
Signature:
export interface ThirdwebAuthConfig
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
authUrl | string | (BETA) The backend URL of the authentication endoints. For example, if your endpoints are at /api/auth/login , /api/auth/logout , etc. then this should be set to /api/auth . | |
domain | string | (BETA) The frontend domain used to generate the login payload. This domain should match the domain used on your auth backend. | |
loginRedirect? | string | (BETA) (Optional) The URL to redirect to after a succesful login. |