Generate OAuth authorization code

Hi Tommy,

I am trying to use API via OAuth . Could you please help me with the below doubt.

  1. Can we generate the OAuth authorization code using PostMan?
    Every time we generate the access token and refresh token, we have to save the refresh token to generate access token again. I don’t want to use refresh token every time and want to check whether we can generate the OAuth authorization code via code or we have to always generate it manually via local test or generate auth url.

Regards
Mike

Hi Guys,
Could you please on above request ?

Regards
Mike

Hey @contactbymail01,

Yes you can generate the Authorization code using Postman. Follow these instructions:

https://learning.postman.com/docs/postman/sending-api-requests/authorization/#oauth-20

Thanks,
Tommy

Hi Tommy,

Every time, when we try to generate auth code via Postman it goes to the login page always.

we are trying to implement in our paid zoom account but now to get auth code via the postman .

one I am able to Auth code I can generate token . but how to get auth code via postman in your link it shows how to get token via auth code

Regards

Mike

Hey @contactbymail01,

Sign-in is part of the OAuth flow.

If you want to call the APIs without the Sign in OAuth2 flow, you can use JWT Tokens instead.

Thanks,
Tommy

Hi @tommy

I think the question being asked is that we would like to test user apps which need OAuth login. It appears that when we try to automate the Oauth request we get into a 302 redirect loop from the server. It appears to be a javascript dependency. Can you explain

Hey @nitin1,

The OAuth flow requires user interaction for security purposes.

Thanks,
Tommy