Skip to main content
POST
Get a user JWT
This endpoint returns a Mysoleas Identity Cloud user JWT. For a user sign-in, call it after /oauth/v2/authorize with the OAuth code and PKCE code_verifier. Once you have the JWT, you can use it to open a session in your application or call userinfo.
To consume SoleasPay gateway endpoints, use the credentials of the application created in SoleasPay to get an application token, then send it in 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