{ "clientId": "string", "clientSecret": "string", "emailPassword": { "username": "string", "password": "string" }, "credential": { "objectRef": "string" } }
curl --location 'https://dev.your-api-server.com/v1/auth/token' \ --header 'Content-Type: application/json' \ --data '{ "clientId": "string", "clientSecret": "string", "emailPassword": { "username": "string", "password": "string" }, "credential": { "objectRef": "string" } }'
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600 }