Forum Discussion
API_User
3 years agoEquinix Employee
Fabric API generate token using client_credentials
I am trying to generate token using this method but in Postman:
Access Token using grant_type = client_credentials (Recommended).
POST 'https://api.equinix.com/oauth2/v1/token' -H "content-type:...
- 3 years ago
Got it, used wrong credentials
access_token=`curl -s --request POST \
--url https://${endpoint_url}/oauth2/v1/token \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"client_id":"'${client_id}'","client_secret":"'${client_secret}'","grant_type":"client_credentials"}' \
| jq -r '.access_token'`
API_User
3 years agoEquinix Employee
I have this problem also.
The oauth2/v1 API worked since year ago, but there are many updates on the API.
https://developer.equinix.com/catalog/fabricv4 shows only bearer auth without any example on how to get a bearer token.
Related Content
- 6 years ago
- 2 years ago
Recent Discussions
Featured Places
Discussions
Engage with industry experts, share insights, ask questions, and grow your network.Ideas
Share your ideas and help shape the future of Equinix!Groups
Ready to collaborate? Join a Group or upcoming beta program.What's New
Stay ahead with the latest from Equinix. Discover new product announcements, insightful tutorials, and practical use cases.Events
Your Guide to Upcoming Events - Online, Hybrid, and In-Person!