Skip to main content

Authentication

The user authentication is done with a call from the API to get a JWT with the UserId. This JWT is verified with JWKS published also on API. This JWT is used to call SimopsConnect endpoints to get genuine data from the client (browser).

JWT Example

Header

{
"alg": "RS256",
"kid": "rjrolYzfbeBTjnqNTX0Hg0pN4as=",
"typ": "JWT"
}

Payload

{
"sub": "5c7538bc-7c9e-474f-8c22-f7a4fc6cb961",
"nbf": 1732065439,
"exp": 1732083439,
"iat": 1732065439,
"iss": "https://api.simo.ps/",
"aud": "SimopsConnect"
}