Authenticate with JWT
Authenticate a user with JWT
POST
/api.moojo.id/user/authenticate
If the user is already authenticated in your agent or application, you can use their JWT to authenticate them with moojoᴵᴰ as well. This ensures that the user is seamlessly connected to their universal identity, along with any previously collected data.
Headers
Name
Value
Content-Type
application/json
x-api-key
Your API KEY as provided by Moojo
Body
Name
Type
Description
idType
string
Specifies the type of identity being used. Currently, only Firebase JWT is supported. use "firebaseJwt"
id
String
The encoded JWT
Request example
Response example
Upon successful authentication, a valid token is issued with a 2-hour expiration period. This token can be used for any user-related API calls.
Last updated
Was this helpful?