Skip to main content
POST
Java (SDK)

Body

application/json
email
string<email>
required

User's email address

Example:

"user@example.com"

password
string<password>
required

User's password

Example:

"SecurePassword123!"

client_id
string
required

OAuth2 client identifier

Example:

"client_abc123xyz"

redirect_uri
string<uri>
required

Redirect URI registered with the client

Example:

"https://yourapp.com/callback"

response_type
string
default:code

OAuth2 response type

Example:

"code"

scope
string

Space-separated list of requested scopes

Example:

"read write"

state
string

Opaque value to maintain state between request and callback (CSRF protection)

Example:

"random_state_string_123"

code_challenge
string

PKCE code challenge (base64url encoded)

Example:

"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"

code_challenge_method
enum<string>

PKCE challenge method

Available options:
S256,
plain
Example:

"S256"

sid
string

Session ID for RSA encryption

Example:

"session_xyz789"

Response

Authorization initiated successfully

next_step_auth_id
string

Authorization session ID for next step

is_mfa
boolean

Whether MFA is required

Whether user consent is required

client_name
string

Name of the OAuth2 client

scopes
string[]

List of requested scopes