Skip to main content
POST
Get a JWT
This endpoint returns a Mysoleas JWT. For a user sign-in, call it after /oauth/v2/authorize with the OAuth code and PKCE code_verifier. For a backend integration, use client_credentials. Once you have the JWT, you can use it to open a session in your application, call userinfo, or consume gateway routes with x-sp-auth-token.

Body

application/json
grant_type
enum<string>
required
Available options:
authorization_code,
client_credentials,
refresh_token
client_id
string
required
client_secret
string
code
string
redirect_uri
string
code_verifier
string
refresh_token
string
scope
string

Response

Token genere

token_type
string
Example:

"Bearer"

expires_in
integer
Example:

3600

access_token
string
refresh_token
string
id_token
string