Skip to main content
GET
Get the OAuth authorize URLs

Authorizations

x-portal-auth-environment-id
string
header
required

The Auth Environment ID for the environment you are authenticating against. Find it in the Portal dashboard under Authentication > Configure.

Query Parameters

redirectUrl
string<uri>
required

Where to send the user after a completed sign-in. Must exactly match one of the environment's Redirect URLs.

isAccountAbstracted
enum<string>

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.

Available options:
true,
false

Response

Authorize URLs retrieved successfully

data
object

Contains a key for each enabled provider only. Empty when neither Google nor Apple is enabled.

metadata
object | null

Always null for this endpoint.