Apigee Maven Deploy Plugin - OAUTH token generation with Machine User Credentials

Hi,

Maven Deploy plugin supports option for oauth where we don't have to pass token explicitly but the plugin takes care of the same. For Public cloud url without SSO it works fine

mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password \
                    -Dorg=testmyapi -Dauthtype=oauth

Ref: https://github.com/apigee/apigee-deploy-maven-plugin#oauth-and-two-factor-authentication

But, if we have enabled SSO then can this tool support the same functionality or we have to use the option of passing bearer token explicitly -

mvn install -Ptest -Dusername=$ae_username -Dorg=testmyapi \
                     -Dauthtype=oauth -Dbearer=c912eu1201c

Let me know your views how others have implemented.

many thanks,

Aakash

0 0 242
0 REPLIES 0