Postman Tutorial - OAUTH 2.0 Authorization using Gmail API

  Рет қаралды 85,348

QASCRIPT

QASCRIPT

Күн бұрын

Пікірлер: 131
@wahidsafi705
@wahidsafi705 3 жыл бұрын
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.
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Thanks for your inputs. Much appreciated.
@pur3D3votion
@pur3D3votion 2 жыл бұрын
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!
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Glad it was helpful
@yogeshjadhav5468
@yogeshjadhav5468 3 жыл бұрын
You have really done a great job. Very nice explanation & good efforts are taken by you. Thanks a lot.
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Thanks and welcome
@BitterHippo
@BitterHippo 4 жыл бұрын
Slick tutorial, my dude. Thanks for making it.
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Any time!
@carloseduardorodriguezlope6707
@carloseduardorodriguezlope6707 2 жыл бұрын
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!
@QASCRIPT
@QASCRIPT 2 жыл бұрын
You're welcome!
@thompchar
@thompchar 2 жыл бұрын
Thanks so much. I had to add the scope in the Developer Console
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Glad I could help
@vishwavaranasi6120
@vishwavaranasi6120 2 жыл бұрын
excellent video and every step clearly explained
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Glad you liked it
@RichardRebeco
@RichardRebeco Жыл бұрын
thanks a lot dude. God bless you forever and ever 🙏
@QASCRIPT
@QASCRIPT Жыл бұрын
You're welcome!
2 жыл бұрын
Hi! This was great! It solved my problem! Thanks!
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Glad to know it solved your problem
@quad_vision4393
@quad_vision4393 Жыл бұрын
Works like a charm! Ty sir 🔥
@QASCRIPT
@QASCRIPT Жыл бұрын
Welcome 👍
@shreyshreyansh
@shreyshreyansh 3 жыл бұрын
Simply perfect.. thank u so so much u save my time
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Glad it was helpful
@MrJamieBort
@MrJamieBort 3 жыл бұрын
This was a HUGE help. Thank you.
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Glad to hear that.
@metamototomo
@metamototomo 3 жыл бұрын
Thank you for this tutorial. It really helped me to start using Postman quickly :)
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Glad it helped!
@claudineievangelistanascim2562
@claudineievangelistanascim2562 4 жыл бұрын
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
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Thanks for sharing your feedback here...
@SuperPradeep21
@SuperPradeep21 2 жыл бұрын
Awesome content - Thank you so much.
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Glad you liked it!
@蔡士弦-g2h
@蔡士弦-g2h 2 жыл бұрын
It's awesome, million's thanks!
@QASCRIPT
@QASCRIPT 2 жыл бұрын
You're welcome!
@jakareyaporosh7396
@jakareyaporosh7396 Жыл бұрын
Thanks for the detailed video. My question is can I run this on any CI pipeline and how?
@QASCRIPT
@QASCRIPT Жыл бұрын
Yes you can!. You can integrate postman cli with Jenkins
@pramodkajla
@pramodkajla 3 жыл бұрын
Thanks a lot. It was really helpful.
@QASCRIPT
@QASCRIPT 3 жыл бұрын
You are welcome!
@DigitalRightsGuy
@DigitalRightsGuy 2 жыл бұрын
Awesome thanks!
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Welcome
@smathers3104
@smathers3104 3 жыл бұрын
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
@QASCRIPT
@QASCRIPT 3 жыл бұрын
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.
@smathers3104
@smathers3104 3 жыл бұрын
@@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.
@jn10r72
@jn10r72 4 жыл бұрын
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?
@QASCRIPT
@QASCRIPT 4 жыл бұрын
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.
@ChauhanManish1802
@ChauhanManish1802 3 жыл бұрын
API provider must give this info to you.
@hasibulmondal4497
@hasibulmondal4497 3 жыл бұрын
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?
@QASCRIPT
@QASCRIPT 3 жыл бұрын
You need to get the webhook uri either from the API documentation or the developers.
@AnandN-b3y
@AnandN-b3y Жыл бұрын
is it possible to generate token without browser authentication ? only with clientId and clientSecret
@QASCRIPT
@QASCRIPT Жыл бұрын
It is required for OAuth Authorization
@Pawan-Pawar-Wanderlust
@Pawan-Pawar-Wanderlust 5 күн бұрын
i'm getting this error what could be the reason? "code": 403, "message": "Invalid user id specified in request/Delegation denied", "errors": [ { "message": "Invalid user id specified in request/Delegation denied", "domain": "global", "reason": "forbidden" }
@QASCRIPT
@QASCRIPT 4 күн бұрын
Mostly it is an authenticaton issue. Check your user has the right access.
@3Eternus
@3Eternus 3 жыл бұрын
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..
@QASCRIPT
@QASCRIPT 3 жыл бұрын
We cannot increase the token time but you can use the refresh token
@surendrann2648
@surendrann2648 4 жыл бұрын
Hi, When trying to connect to anther email it's not working., How to create an access token for different user
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Try creating a new token as it gets expired after some time.
@KaiBlack03
@KaiBlack03 2 ай бұрын
Thank you!
@QASCRIPT
@QASCRIPT 2 ай бұрын
Welcome!
@smjtechie9496
@smjtechie9496 4 жыл бұрын
Thanks a lot!! Please let me know how to get grant type as client credentials?
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Did not get your question. Can you please elaborate ?.
@smjtechie9496
@smjtechie9496 4 жыл бұрын
@@QASCRIPT I mean how we can call a rest API authorization basic and grant type is client credentials
@QASCRIPT
@QASCRIPT 4 жыл бұрын
For Basic Authorization, please refer to this video - kzbin.info/www/bejne/o5SWh4l9mN6DZ7M
@smjtechie9496
@smjtechie9496 4 жыл бұрын
@@QASCRIPT Thank you!!
@roopasree9054
@roopasree9054 4 жыл бұрын
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?
@QASCRIPT
@QASCRIPT 4 жыл бұрын
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.
@roopasree9054
@roopasree9054 4 жыл бұрын
@@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
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Please enable the browser popups for postman and try again.
@satishpericherla9320
@satishpericherla9320 3 жыл бұрын
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?
@satishpericherla9320
@satishpericherla9320 3 жыл бұрын
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.
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Thanks Satish. Glad it worked out for you.
@WriteCodeWithPrince
@WriteCodeWithPrince 3 жыл бұрын
Very Nice
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Thanks
@rameshkvaw542
@rameshkvaw542 3 жыл бұрын
Thanks thanks alot bro
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Happy to help
@nileshz4u
@nileshz4u 2 жыл бұрын
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.
@nileshz4u
@nileshz4u 2 жыл бұрын
Issue is resolved.
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Great
@manuelferraretto7208
@manuelferraretto7208 Жыл бұрын
@@nileshz4u Hi, could you tell me how you resolved the issue. Thanks.
@pm-nk6tp
@pm-nk6tp Жыл бұрын
Can you explain how to use next page token ?
@QASCRIPT
@QASCRIPT Жыл бұрын
Soon
@marcusmors8485
@marcusmors8485 4 жыл бұрын
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!
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Glad it was helpful!
@IslamTheRightWay10
@IslamTheRightWay10 5 күн бұрын
But almost all the scopes need verification from Google to use. So i cant use it.
@QASCRIPT
@QASCRIPT Күн бұрын
Thanks for sharing
@sarveshnaik1762
@sarveshnaik1762 Жыл бұрын
make a video on sending a email with attachement using gmail api and postman tool
@QASCRIPT
@QASCRIPT Жыл бұрын
Sure. Will do
@raviboddupally6407
@raviboddupally6407 2 жыл бұрын
How can we send a tweet in twitter using postman post API. Can you please explain it.
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Check out this video - kzbin.info/www/bejne/aYWsoISrYtl7kNU
@carriehammel2755
@carriehammel2755 2 жыл бұрын
Tip: Add the email for the gmail account under test user
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Thanks for providing the valuable tip
@indiacricketclub2212
@indiacricketclub2212 2 жыл бұрын
Hi sir, please upload video to OAuth2. 0 authorization using KZbin...
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Sure. Will try to upload soon
@vijayuttekar2108
@vijayuttekar2108 3 жыл бұрын
Thanks !! any link to learn Oauth
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Take a look at this - aaronparecki.com/oauth-2-simplified/
@LanNguyen-fz5jc
@LanNguyen-fz5jc 4 жыл бұрын
hi, Callback URL / Auth URL: Can you tell me where can I get them?
@QASCRIPT
@QASCRIPT 4 жыл бұрын
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
@nishajain7538
@nishajain7538 3 жыл бұрын
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?
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Please make sure you have enabled the browser popups for Postman
@rohitjakhar6672
@rohitjakhar6672 4 жыл бұрын
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
@QASCRIPT
@QASCRIPT 4 жыл бұрын
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 - kzbin.info/www/bejne/o5SWh4l9mN6DZ7M
@rohitjakhar6672
@rohitjakhar6672 4 жыл бұрын
@@QASCRIPT thank you sir so much
@rohitjakhar6672
@rohitjakhar6672 4 жыл бұрын
@@QASCRIPT I watch video and try it but not working please make video on it
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Sure Rohit. Will make a video as soon as I get some time.
@rohitjakhar6672
@rohitjakhar6672 4 жыл бұрын
@@QASCRIPT thanks sir
@toma9129
@toma9129 4 жыл бұрын
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?
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Hi Tom. There may be some issue with your Gmail Account. Can you please try with a different gmail account ?
@ibra.stacks
@ibra.stacks 4 жыл бұрын
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.
@vitalypedash
@vitalypedash 3 жыл бұрын
@@ibra.stacks Thanks a lot! You saved my day!
@toma9129
@toma9129 3 жыл бұрын
@@ibra.stacks Yes, this solved it for me too. Thank you for sharing the solution.
@sriravali8986
@sriravali8986 3 жыл бұрын
@@ibra.stacks Thank you for putting it out here. I was stuck at the same step and this resolved it for me.
@itssjwrld
@itssjwrld 3 жыл бұрын
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.
@QASCRIPT
@QASCRIPT 3 жыл бұрын
You can resolve it by adding your email address to the test users under the OAuth consent screen application.
@djaouidakharchi4024
@djaouidakharchi4024 2 жыл бұрын
Thank u!!
@QASCRIPT
@QASCRIPT 2 жыл бұрын
You're welcome!
@ManishKumar-initial
@ManishKumar-initial 3 жыл бұрын
can u tell me about the payload of send email of gmail api
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Refer to this page - developers.google.com/gmail/api/reference/rest/v1/users.messages/send
@tkakki1
@tkakki1 2 жыл бұрын
how to use the API to send emails from POSTMAN?
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Please check the API documentation for Google
@archanasubramanyam8848
@archanasubramanyam8848 4 жыл бұрын
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.
@QASCRIPT
@QASCRIPT 4 жыл бұрын
Check your browser security settings as it might be blocking Postman connection as it seems the authentication call was not successful.
@matejatrikich97
@matejatrikich97 3 жыл бұрын
Do a same one just for how to send the message from OAuth2 playground
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Sure. Will try to pick it up soon.
@coloradovermelho4789
@coloradovermelho4789 2 жыл бұрын
OMG... the auth autentication leave the developement so complicated... Thas should't be the idea for APIs
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Agreed.
Postman Tutorial - Authorize API Requests using Basic Auth
7:44
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Gmail-OAuth2.0 Using Postman
19:39
OpenSourceAutomation - Afsar Ali
Рет қаралды 16 М.
How to send email using Gmail API (uses OAuth2 and nodemailer)
17:55
OAuth 2.0 Authorization Flow using the Dropbox API and Postman
32:38
Valentin Despa
Рет қаралды 32 М.
Google API - OAuth 2.0 - Get AccessToken and Refresh Token Part-1
28:05
OpenSourceAutomation - Afsar Ali
Рет қаралды 120 М.
OAuth 2.0 explained with examples
10:03
ByteMonk
Рет қаралды 174 М.
Python YouTube API Tutorial: Using OAuth to Access User Accounts
43:21
Google OAuth 2.0 With NodeJS (No Passport or googleapis)
57:18
TomDoesTech
Рет қаралды 103 М.
BIP HOUSE  .бип хаус 🥰🏡  #shorts
0:13
bip_house
Рет қаралды 1,2 МЛН
В Европе заставят Apple сделать в айфонах USB Type-C
0:18
Короче, новости
Рет қаралды 1,1 МЛН
Мы Сняли Радужных Друзей на новый iPhone 14 PRO !
24:18
для всей семьи
0:56
Стакановец
Рет қаралды 191 М.