QuadientOptions
Interface QuadientOptions
interface QuadientOptions extends BaseOAuthProviderOptionsProperties
clientId
stringOAuth client ID
clientSecret
stringOAuth client secret
disableImplicitSignUp
booleanDisable implicit sign up for new users. When set to true for the provider, sign-in need to be called with with requestSignUp as true to create new users.
disableProviderLogout
booleanDisable automatic provider logout on authClient.signOut().
When set, sign out only clears the Better Auth session.
disableSignUp
booleanDisable sign up for new users.
endSessionEndpoint
stringURL for the OIDC RP-Initiated Logout endpoint.
Optional if using discoveryUrl and the discovery document includes
end_session_endpoint.
overrideUserInfo
booleanOverride user info with the provider info.
This will update the user info with the provider info, when the user signs in with the provider.
pkce
booleanWhether to use PKCE (Proof Key for Code Exchange). Required by OAuth 2.1 for all authorization code flows. Disable only for providers that explicitly reject PKCE.
postLogoutRedirectURI
stringURL the provider should redirect back to after logout. This must also be registered with the provider as a post-logout redirect URI.
redirectURI
stringCustom redirect URI. If not provided, a default URI will be constructed.
scopes
string[]Array of OAuth scopes to request.
tokenEndpointAuth
TokenEndpointAuthToken endpoint client authentication method.
Use private_key_jwt for IdPs that authenticate clients with RFC 7523
client assertions instead of a client secret. Secret-based methods require
clientSecret.