Skip to main content
July 11, 2019
Solved

OAuth 2.0 API stopped working?

  • July 11, 2019
  • 1 reply
  • 0 views

Hello,

My OAuth 2.0 (Authentication) API call is failing, did something change? 

Best answer by API_User

Hello there,

There was a security patch update on the 10th of June 2019 to support Client Credentials grant type for OAuth2 (Equinix authentication API), and this may have triggered the problem. Please check if you have passed the correct headers and corresponding values for each grant type.

The Password grant type requires

  • user_name
  • user_password
  • client_id
  • client_secret
  • grant_type

and the Client Credentials grant type requires

  • client_id
  • client_secret
  • grant_type

For further info refer https://developer.equinix.com/docs?page=/dev-docs/fabric/getting-started/getting-access-token|requesting-access-and-refresh-tokens

- Equinix Developer Community

1 reply

API_UserAuthorAnswer
July 12, 2019

Hello there,

There was a security patch update on the 10th of June 2019 to support Client Credentials grant type for OAuth2 (Equinix authentication API), and this may have triggered the problem. Please check if you have passed the correct headers and corresponding values for each grant type.

The Password grant type requires

  • user_name
  • user_password
  • client_id
  • client_secret
  • grant_type

and the Client Credentials grant type requires

  • client_id
  • client_secret
  • grant_type

For further info refer https://developer.equinix.com/docs?page=/dev-docs/fabric/getting-started/getting-access-token|requesting-access-and-refresh-tokens

- Equinix Developer Community