Thanks for sharing such a rich content bro, Just in case anyone not getting verified pop-up in postman and able to get in chrome, make sure you disable "SSL certificate verification" under postman settings.
Still holds up after this time and great work in explaining the steps! This helps a lot for someone trying to learn development coming from an infra background!
Very good class. 🙏 Thanks for sharing knowledge. I would like to add that it is necessary to unblock the web browser popup to send informations and call the postman. Sucess for you QASCRIPT
I get error : The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. I followed the same step you did in setting up GMail API credentials. any idea why? Great video by the way
Thanks!!! Can you try adding your email address to the test users under the OAuth consent screen for the application you created?. Some of the other users were able to resolve the issue in this way.
@@QASCRIPT hey thanks for speedy response. I did solve it. I did add my email address to the test users. This is the email address I use when I am logged into Integromat, however it is not the email account I am linking to in my Integromat scenario....when I added the test email account address to the test users, the Integrmat scenario was able to read the inbox. So I was close but needed to use the email address of the gmail account I was trying to read from, not the one I was logged in as.
How did you determine the correct redirect URI in this example using postman? If I was using another API client (something other than postman) to explore another API service provider (Facebook or Twitter) how would I determine the redirect URI?
As far as I know there is no specific source of this information available anywhere. I had to do some research in order to find the redirect URI for Gmail. I guess we need to do the same for other service providers like Facebook or Twitter.
Is there a way to increase the token time? it expires after an hour ? authenticating via the browser isnt working for my tests so im trying to write a test that gets the token variable and uses it in these requests..
Unfortunately I've not found any common place where you will get Auth URL for all APIs and it needs some researching. The one I've mentioned is specific for Google APIs.
I am trying to acess an api through Oauth 2.0 to test it on Postman and there I need webhook url for incoming response from the api. Can you tell me how to get this Webhook uri?
Thank you mate for this class. Once I am redirected to google to login to my account - I get access denied and app has not been verified yet. No way to get over that stage. Any suggestions please?
Hey Brother thank you for answering to comments. One of the people here had the same issue and I ready your reply. Just had to add my email id to test users in auth consent and it worked. Yahoo. you are a life saver mate. Anything I can do to help. Do email me anytime mate.
I am getting below error message while postman authorization. Authorization Error Error 400: redirect_uri_mismatch You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. Can you please help with this.
I have followed the tutorial twice but still get the same problem when trying to get new access token. I get redirected to gmail login page but when trying to log into my account: Error 403. What could be the problem?
Hi Lan. Its already mentioned in the video description. Below are the details: Callback URL- oauth.pstmn.io/v1/callback Auth URL - accounts.google.com/o/oauth2/auth
I am using udemy api they also use oauth2.0 but they give only client id and secret key not any other details or no documentation for that How i implement that type authentication in postman
Hi Rohit. I've checked Udemy API and it seems Udemy Affiliate API requires basic authentication parameters to validate the client. So you can directly use your Client ID and Secret to authenticate your requests using Basic Auth in Postman. You can check our video on how to use Basic Authorization in Postman here - th-cam.com/video/mc3VVGcyP1Q/w-d-xo.html
Hi there, Thank you for the video was helpful. However, I am stuck at a point would need your help. Error : { "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See developers.google.com/identity/sign-in/web/devconsole-project.", "errors": [ { "message": "Login Required.", "domain": "global", "reason": "required", "location": "Authorization", "locationType": "header" } ], "status": "UNAUTHENTICATED" } } ------ I click on Get New Access Token -> Select Account -> Advanced -> click on Go to pstmn.io (unsafe)-> Grant pstmn.io permission View and modify but not delete your email -> Allow -> It says authentication with green tick and immediately throws error shown up. One thing I want to keep you posted, In consent form I have enabled the Scope -> not sure if there is something missing there.
Thanks for sharing such a rich content bro, Just in case anyone not getting verified pop-up in postman and able to get in chrome, make sure you disable "SSL certificate verification" under postman settings.
Thanks for your inputs. Much appreciated.
You have really done a great job. Very nice explanation & good efforts are taken by you. Thanks a lot.
Thanks and welcome
Still holds up after this time and great work in explaining the steps! This helps a lot for someone trying to learn development coming from an infra background!
Glad it was helpful
Thanks so much. I had to add the scope in the Developer Console
Glad I could help
Slick tutorial, my dude. Thanks for making it.
Any time!
excellent video and every step clearly explained
Glad you liked it
Thank you really! I was still trying to do it and you explain it really easy! Now I need to use this to recover my mailing application... THANK YOU!
You're welcome!
Hi!
This was great! It solved my problem!
Thanks!
Glad to know it solved your problem
Thanks for the detailed video. My question is can I run this on any CI pipeline and how?
Yes you can!. You can integrate postman cli with Jenkins
Very good class. 🙏 Thanks for sharing knowledge. I would like to add that it is necessary to unblock the web browser popup to send informations and call the postman. Sucess for you QASCRIPT
Thanks for sharing your feedback here...
Very Nice
Thanks
Thank you for this tutorial. It really helped me to start using Postman quickly :)
Glad it helped!
thanks a lot dude. God bless you forever and ever 🙏
You're welcome!
Awesome content - Thank you so much.
Glad you liked it!
Simply perfect.. thank u so so much u save my time
Glad it was helpful
This was a HUGE help. Thank you.
Glad to hear that.
Awesome thanks!
Welcome
Works like a charm! Ty sir 🔥
Welcome 👍
I get error : The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. I followed the same step you did in setting up GMail API credentials. any idea why?
Great video by the way
Thanks!!! Can you try adding your email address to the test users under the OAuth consent screen for the application you created?. Some of the other users were able to resolve the issue in this way.
@@QASCRIPT hey thanks for speedy response. I did solve it. I did add my email address to the test users. This is the email address I use when I am logged into Integromat, however it is not the email account I am linking to in my Integromat scenario....when I added the test email account address to the test users, the Integrmat scenario was able to read the inbox. So I was close but needed to use the email address of the gmail account I was trying to read from, not the one I was logged in as.
Thank you!
Welcome!
How did you determine the correct redirect URI in this example using postman? If I was using another API client (something other than postman) to explore another API service provider (Facebook or Twitter) how would I determine the redirect URI?
As far as I know there is no specific source of this information available anywhere. I had to do some research in order to find the redirect URI for Gmail. I guess we need to do the same for other service providers like Facebook or Twitter.
API provider must give this info to you.
Is there a way to increase the token time? it expires after an hour ? authenticating via the browser isnt working for my tests so im trying to write a test that gets the token variable and uses it in these requests..
We cannot increase the token time but you can use the refresh token
is it possible to generate token without browser authentication ?
only with clientId and clientSecret
It is required for OAuth Authorization
Thanks a lot!!
Please let me know how to get grant type as client credentials?
Did not get your question. Can you please elaborate ?.
@@QASCRIPT I mean how we can call a rest API authorization basic and grant type is client credentials
For Basic Authorization, please refer to this video - th-cam.com/video/mc3VVGcyP1Q/w-d-xo.html
@@QASCRIPT Thank you!!
In general from where do we get the Auth URL and Access Token URL? The one which you mentioned, is it common for all api's?
Unfortunately I've not found any common place where you will get Auth URL for all APIs and it needs some researching. The one I've mentioned is specific for Google APIs.
@@QASCRIPT Call authentication is successful in browser but not in Postman. In postman it is throwing error. Can you provide me a solution to fix it
Please enable the browser popups for postman and try again.
Thanks thanks alot bro
Happy to help
It's awesome, million's thanks!
You're welcome!
I am trying to acess an api through Oauth 2.0 to test it on Postman and there I need webhook url for incoming response from the api. Can you tell me how to get this Webhook uri?
You need to get the webhook uri either from the API documentation or the developers.
Thank you mate for this class. Once I am redirected to google to login to my account - I get access denied and app has not been verified yet. No way to get over that stage. Any suggestions please?
Hey Brother thank you for answering to comments. One of the people here had the same issue and I ready your reply. Just had to add my email id to test users in auth consent and it worked. Yahoo. you are a life saver mate. Anything I can do to help. Do email me anytime mate.
Thanks Satish. Glad it worked out for you.
Hi, When trying to connect to anther email it's not working., How to create an access token for different user
Try creating a new token as it gets expired after some time.
Can you explain how to use next page token ?
Soon
Thanks !! any link to learn Oauth
Take a look at this - aaronparecki.com/oauth-2-simplified/
Thanks a lot. It was really helpful.
You are welcome!
I am getting below error message while postman authorization.
Authorization Error
Error 400: redirect_uri_mismatch
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.
Can you please help with this.
Issue is resolved.
Great
@@nileshz4u Hi, could you tell me how you resolved the issue. Thanks.
Hi sir, please upload video to OAuth2. 0 authorization using TH-cam...
Sure. Will try to upload soon
make a video on sending a email with attachement using gmail api and postman tool
Sure. Will do
I have followed the tutorial twice but still get the same problem when trying to get new access token. I get redirected to gmail login page but when trying to log into my account: Error 403. What could be the problem?
Hi Tom. There may be some issue with your Gmail Account. Can you please try with a different gmail account ?
I had the same issue, I fixed it by adding my email address to the test users under the OAuth consent screen application that I created.
@@ibra.stacks Thanks a lot! You saved my day!
@@ibra.stacks Yes, this solved it for me too. Thank you for sharing the solution.
@@ibra.stacks Thank you for putting it out here. I was stuck at the same step and this resolved it for me.
How can we send a tweet in twitter using postman post API. Can you please explain it.
Check out this video - th-cam.com/video/3TIoQu-tHZs/w-d-xo.html
hi, Callback URL / Auth URL: Can you tell me where can I get them?
Hi Lan. Its already mentioned in the video description. Below are the details:
Callback URL- oauth.pstmn.io/v1/callback
Auth URL - accounts.google.com/o/oauth2/auth
hi when i am trying to get access token it shows do it again i tried it alot of times but its not working how to get access token?
Please make sure you have enabled the browser popups for Postman
I am using udemy api they also use oauth2.0 but they give only client id and secret key not any other details or no documentation for that
How i implement that type authentication in postman
Hi Rohit. I've checked Udemy API and it seems Udemy Affiliate API requires basic authentication parameters to validate the client. So you can directly use your Client ID and Secret to authenticate your requests using Basic Auth in Postman. You can check our video on how to use Basic Authorization in Postman here - th-cam.com/video/mc3VVGcyP1Q/w-d-xo.html
@@QASCRIPT thank you sir so much
@@QASCRIPT I watch video and try it but not working
please make video on it
Sure Rohit. Will make a video as soon as I get some time.
@@QASCRIPT thanks sir
Thank u!!
You're welcome!
can u tell me about the payload of send email of gmail api
Refer to this page - developers.google.com/gmail/api/reference/rest/v1/users.messages/send
When i Authorize by selecting a account then it gives error 403 and it won't give this advance option i tried many times any suggestions please help.
You can resolve it by adding your email address to the test users under the OAuth consent screen application.
Tip: Add the email for the gmail account under test user
Thanks for providing the valuable tip
Thank you, good man. am very glad you shared this 😀,
now am struggling with turning the message body into readable text he he. good luck!
Glad it was helpful!
how to use the API to send emails from POSTMAN?
Please check the API documentation for Google
Hi there,
Thank you for the video was helpful.
However, I am stuck at a point would need your help.
Error : {
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}
------
I click on Get New Access Token -> Select Account -> Advanced -> click on Go to pstmn.io (unsafe)-> Grant pstmn.io permission
View and modify but not delete your email -> Allow -> It says authentication with green tick and immediately throws error shown up.
One thing I want to keep you posted, In consent form I have enabled the Scope -> not sure if there is something missing there.
Check your browser security settings as it might be blocking Postman connection as it seems the authentication call was not successful.
Do a same one just for how to send the message from OAuth2 playground
Sure. Will try to pick it up soon.
OMG... the auth autentication leave the developement so complicated... Thas should't be the idea for APIs
Agreed.