Forum Discussion

API_User's avatar
API_User
Equinix Employee
7 years ago
Solved

OAuth 2.0 API stopped working?

Hello,

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

  • 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_User's avatar
    API_User
    Equinix Employee

    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

Featured Places

  • Node avatar for Discussions

    Discussions

    Engage with industry experts, share insights, ask questions, and grow your network.
  • Node avatar for Ideas

    Ideas

    We're listening! Submit your ideas to shape the future of Equinix!
  • Node avatar for Groups

    Groups

    Ready to collaborate? Join a Group or upcoming beta program.
  • Node avatar for What's New

    What's New

    Stay ahead with the latest from Equinix. Discover new product announcements, insightful tutorials, and practical use cases.
  • Node avatar for Events

    Events

    Your Guide to Upcoming Events - Online, Hybrid, and In-Person!