HI,
I am working for a client who used Apigee Saas Platform. I am trying to setup CICD using Apigee maven deployment tool. I am not able to get the oauth token and call the management API. I tried https://abc.login.apigee.com/oauth/token to get the token and https://api.abc.apigee.com for the management api and https://api.enterprise.apigee.com
I am not able to get the token or deploy, we are using SSO for login. the request usually times out.
Any help with this is helpful.
thanks,
Aswin.
If you have enabled SSO and Multi-Factor Authentication (MFA) for an Apigee Edge Cloud organization, you could use "get_token" CLI for obtaining OAuth2 tokens for accessing the Management API:
$ get_token Enter username: foo@abc.org $ Enter the password for user 'foo@abc.org' password $ Enter the six-digit code if 'foo@abc.org' is MFA enabled or press ENTER: 123456 # export token obtained by get_token CLI to ACCESS_TOKEN curl -v https://api.enterprise.apigee.com/v1/organizations/${org_name} \ -H "Authorization: Bearer $ACCESS_TOKEN"
You could find more information on this at the below URLs:
https://docs.apigee.com/api-platform/system-administration/using-oauth2
https://docs.apigee.com/api-platform/system-administration/using-gettoken
User | Count |
---|---|
6 | |
2 | |
1 | |
1 | |
1 |