Get the OAuth authorize URLs
Returns the provider authorize URLs to send the end user to. Open the returned URL in a browser to start the sign-in.
The response contains a key only for each provider enabled on the
environment, so an environment with Google enabled and Apple disabled
returns google only. An environment with neither enabled returns an
empty object.
Authorizations
The Auth Environment ID for the environment you are authenticating against. Find it in the Portal dashboard under Authentication > Configure.
Query Parameters
Where to send the user after a completed sign-in. Must exactly match one of the environment's Redirect URLs.
Whether the client created for this end user uses ERC-4337 Account
Abstraction. Query parameters are strings, so send the literal
true or false. Any other value is rejected with 400.
Omit it to inherit your organization's default. Sending true
requires Account Abstraction to be enabled for your organization and
configured for this environment, and is rejected with 400
otherwise.
The flag only applies when the client is created, on the user's first sign-in. A returning user keeps the client they already have.
true, false