Token Endpoint
Following are the details needed for requesting valid access token to access resources in Switch API, per environment.
Token URL
https://qa-login.switchmarket.se/oauth/token
Grant type
client_credentials
Client ID
Client secret
Audience
https://qa-api.switchmarket.se
Token URL
https://login.switchmarket.se/oauth/token
Grant type
client_credentials
Client ID
Client secret
Audience
https://api.switchmarket.se
It is important that the fetched access token is cached by the client for the duration of its validity and reused for subsequent requests. The Switch Authorization Server will soon start imposing rate limits on the token endpoint which when reached will reject the requests to fetch an access token for a given time period.
Please ensure that the values you send for all parameters above to the Switch Authorization Server are correct without any additional new lines or toher characters added before or after the actual value.
Last updated
Was this helpful?