Get Passcode For SSO Enabled Org Using Proxy

Hello Apigeeks,

 

My Org is enabled with SSO/SAML gone through Access the Edge API with SAML  |  Apigee Edge  |  Apigee Docs and in that its given as passcode can be obtained from browser, but need a way to generate a passcode from proxy call either by service callout or by calling target server from proxy. Can you please share  ideas of how to implement the same if someone did, or trying.

 

Thanks

Solved Solved
0 2 114
1 ACCEPTED SOLUTION

No, you should not do that.

The passcode is intended to be a mechanism to help USERS get tokens for use in interactive scripts.

If you are trying to get a token within an API Proxy, What you probably want to use is a "machine account" .  See here.

View solution in original post

2 REPLIES 2

No, you should not do that.

The passcode is intended to be a mechanism to help USERS get tokens for use in interactive scripts.

If you are trying to get a token within an API Proxy, What you probably want to use is a "machine account" .  See here.

Hey , it worked, thanks for your help.

 

-Regards,

KrishnaChaitanya