Skip to main content

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]( server.


export interface ThirdwebAuthConfig


authUrlstring(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.
domainstring(BETA) The frontend domain used to generate the login payload. This domain should match the domain used on your auth backend.