Authentification
This endpoint allows you to authenticate and get your id_token to use the web services.
Get "id_token" (Authorization)
POST
https://auth.transiteo.io/oauth2/token
This endpoint allows you to get the "id_token" thanks to the "client_id" & "refresh_token"
Headers
Name | Type | Description |
---|---|---|
content-type | string | application/x-www-form-urlencoded |
Request Body
Name | Type | Description |
---|---|---|
client_id | string | "your client_id" |
grant_type | string | refresh_token |
refresh_token | string | "your refresh_token" |
Response fields
"id_token"
Examples : "eyJraWQiOiI4eXVTYUd5WHNEUCtIOTU0UjYxd1Z4QkMyNHUydzRUclF5NEZ..." Type : string
"access_token"
Examples : "eyJraWQiOiJNUHE3ZFJydk1FaTZqRXB1cGdsa1BhN3ZuV0dWWE94MjJTY..." Type : string
"expire_in"
The id-token and access_token will expire in 3 600 seconds Value : "3600" Type : number
"token_type"
Value : "Bearer" Type : string
The "id_token" and "access_token" are available 1 hour.
Last updated