Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Authenticate API in developer's portal using AuthCode flow of OAuth

Please help me to understand authenticating API in developer's portal using AuthCode flow of OAuth ?

Any sample Spec for security scheme is much helpful.

0 3 274
3 REPLIES 3

I am not clear on what you want to achieve, generally speaking, you could implement the Auth code oauth in your proxy and then push it to your portal.

Check this,

https://docs.apigee.com/api-platform/security/oauth/oauth-v2-policy-authorization-code-grant-type

Hello Sid, I am looking for spec for security scheme.

As per our requirement, we have made few params in the oauth flow mandatory such as state, nonce and redirect uri.

When i am trying to make a call from developer portal to generate the oauth token, do i need to hard code few params in the spec itself ?

jincyv
New Member

Hi Sasikumar,

Please check this link, http://spec.openapis.org/oas/v3.0.2#oauth2-security-requirement .

I think you are asking how to implement security scheme inside spec file. Hope above reference link helps.