How to OAuth 2.0 Authorization with Postman | Generate Google Access Token in Postman | Step By Step

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น •

  • @davidtrevor8967
    @davidtrevor8967 11 หลายเดือนก่อน +2

    Never really used Postman before and thanks to your video I was able to setup a test application in ADFS in a couple of minutes, thanks!

    • @CodeSagarOfficial
      @CodeSagarOfficial  10 หลายเดือนก่อน

      Glad it helped!
      Thanks for comment.

  • @Shyloo
    @Shyloo 10 หลายเดือนก่อน +1

    Thanks! I got the 403 error, and at 7:47 you showed me how to fix it! Thanks a lot man, you made my weekend

  • @EarningsNest
    @EarningsNest 10 หลายเดือนก่อน +1

    Perfect, I used u video and was no errors , good job , thk :)

    • @CodeSagarOfficial
      @CodeSagarOfficial  10 หลายเดือนก่อน

      Thanks for comment. It motivate me a lot.

  • @Kalal_Motivation
    @Kalal_Motivation ปีที่แล้ว +2

    Amzing Video sir it is so helpful for my work

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      Glad to hear that.
      Glad it helped.
      Subscribe channel for more videos: www.youtube.com/@code-sagar

  • @jaspreetsingh-hj2mv
    @jaspreetsingh-hj2mv ปีที่แล้ว +3

    best video. Step by step explaination.

  • @십시윤
    @십시윤 ปีที่แล้ว +1

    인생 영 ㄱㅅㄱㅅ 상입니다. 다른 사람들도 꼭 봐야할 것 같아요.

  • @phongtang2377
    @phongtang2377 5 หลายเดือนก่อน +2

    after we get the token. we can use it to verify in backend to get information of account? Please help me. I have issue wwith it.

  • @jorgealejandrocedenorojas9675
    @jorgealejandrocedenorojas9675 ปีที่แล้ว +1

    Perfect, Thanks for supporting to me.

  • @corinaskywalker
    @corinaskywalker 6 หลายเดือนก่อน +3

    Auth URL is not working anymore, it copies as a youtube redirect URL

  • @sohamkhare4829
    @sohamkhare4829 หลายเดือนก่อน +1

    The best tutorial

  • @BloodHaZaRd666
    @BloodHaZaRd666 ปีที่แล้ว +1

    thx that helped me on how o set an OAuth2 with postman

  • @krishnanayak8931
    @krishnanayak8931 ปีที่แล้ว +1

    Thanks a Lots for helping 🤩

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      Thanks for your comment.
      Subscribe for more such videos.

  • @testtest-c4z
    @testtest-c4z ปีที่แล้ว +1

    Hello, how are you, there are applications that request a token, request that the client id and seceret key be sent, others an api token and a secret key, how is this different from, for example, sending user and pass?

  • @JustPython
    @JustPython ปีที่แล้ว +3

    very good video

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      Thanks for comment.
      Subscribe channel for more videos: www.youtube.com/@code-sagar

  • @Viperkill400
    @Viperkill400 3 หลายเดือนก่อน

    Hi, I was wondering how would you generate a refresh token?

  • @jaspreetsingh-ee1vr
    @jaspreetsingh-ee1vr ปีที่แล้ว +1

    It helped a lot. Thanks

  • @sandovalvaz6093
    @sandovalvaz6093 3 หลายเดือนก่อน

    Hi, do you know why this error occur? "OAuth 2 parameters can only have a single value: scope"

  • @ginodejesus5698
    @ginodejesus5698 ปีที่แล้ว +2

    Thanks for this really helpful! how can I access refresh token? so I can build something that can be scheduled?

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      In the response, you will receive an access token, token type, expires in, and a refresh token.

    • @pavelllamocca5242
      @pavelllamocca5242 ปีที่แล้ว

      @@CodeSagarOfficial. Thanks for the video. In the response I receive: "access token", "token type", "expires in", "scope", "access tokern url", "client id", "client secret" and "timestamp".
      I dont receive the "refresh token". Do you know how to get it? I think the problem is the type of application "web application".
      .

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      Make sure you have included grant_type="refresh_token" the parameters in the request body
      grant_type=authorization_code
      OR
      grant_type=refresh_token
      The refresh token will be provided in the response alongside the access token when you request authorization or when you use a refresh token grant.
      Hope this will help.

  • @마예원-p2e
    @마예원-p2e ปีที่แล้ว

    마 👍👍 음에 걸려서 계속 봐요.

  • @Sagar-sq6kc
    @Sagar-sq6kc 7 หลายเดือนก่อน

    Hello, can I generate Authorization: Bearer . via postman.

  • @sushantmore2299
    @sushantmore2299 4 หลายเดือนก่อน

    Hi,
    Is there a way to capture the access token from auth2.0 into global variable through a script?

    • @CodeSagarOfficial
      @CodeSagarOfficial  4 หลายเดือนก่อน

      You can use this code to automate the process.
      gist.github.com/CodeSagarOfficial/4fb18588625cb76b8e602a5c1cdb4f1c

    • @sushantmore2299
      @sushantmore2299 4 หลายเดือนก่อน

      ​@@CodeSagarOfficial I have a sso auth for auth2.0 will this work

  • @sandeepkaur-un3wy
    @sandeepkaur-un3wy ปีที่แล้ว +1

    Helpful 👍 Thanks

  • @ashutoshkumarpandey3307
    @ashutoshkumarpandey3307 ปีที่แล้ว

    Is there a way to generate access token using service account ? If yes then please guide me .
    I am already done with the Google docs and its not working as expected.

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      You can use the Google Cloud SDK or libraries like "google-auth" in Python to generate access tokens.

  • @alisahin583
    @alisahin583 9 หลายเดือนก่อน

    It doesnt work for me . i need that auto generate token without using login google account. Can you do this?

  • @hindi-movies-bhandar
    @hindi-movies-bhandar 6 หลายเดือนก่อน

    how to enable legacy people api ? its not coming in search

  • @The_armistead
    @The_armistead ปีที่แล้ว

    Helpful, thanks

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      Thanks for comment.
      Subscribe channel for more such videos.

  • @원진우-l4g
    @원진우-l4g ปีที่แล้ว

    ^ㅂ^ 이 영상을 기다리고 있었습니다!

  • @SeemaSharma-fv2yw
    @SeemaSharma-fv2yw ปีที่แล้ว +1

    Helpful 👏

  • @Nobody-df7vn
    @Nobody-df7vn ปีที่แล้ว

    Is client secret required? Is it a security concern?

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      Yes, client secret is required. You have to store it securely on the client side and then use it.

  • @anushasreerama4683
    @anushasreerama4683 ปีที่แล้ว

    It is showing me error as
    "This request is not authorized to call insights service. Developer token not enabled how to resolve this issue please help me

  • @nwaformicah433
    @nwaformicah433 8 หลายเดือนก่อน

    Nice work, you are good. I want to know or ask if i need to make payment to use Oauth in my project?

    • @CodeSagarOfficial
      @CodeSagarOfficial  7 หลายเดือนก่อน

      No, you don't need to make any payment for using OAuth.

  • @somethingmysterious58
    @somethingmysterious58 ปีที่แล้ว

    and how to get refresh token using access token?

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      If you want to get refresh token then you have to add "offline_access" Scope in OAuth consent screen.
      Steps:
      - Navigate to your project.
      - In the left sidebar, click on "APIs & Services" > "Credentials."
      - Click on the "OAuth consent screen" tab
      - In the "Scopes for Google APIs" section, ensure that the "offline_access" scope is included.

  • @AbhishekSingh-gg9dj
    @AbhishekSingh-gg9dj ปีที่แล้ว

    How to enable this directly on browser ?

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      I didn't get you. can you explain more? what you actually want to achieve?

  • @eunheeiam2990
    @eunheeiam2990 8 หลายเดือนก่อน

    Thanks!

  • @마주아-r4d
    @마주아-r4d ปีที่แล้ว

    ^.^ 이런 영상을 많이 올려주세요!

  • @priyamohapatra6525
    @priyamohapatra6525 5 หลายเดือนก่อน

    OAuth 2 parameters can only have a single value: scope Learn more about this error
    If you are a developer of login , see error details.
    Error 400: invalid_request

    • @sandovalvaz6093
      @sandovalvaz6093 3 หลายเดือนก่อน

      do you solved that problem? I have the same issue 😓

  • @nopolioncollection
    @nopolioncollection ปีที่แล้ว +1

    Not work give me blocked

    • @CodeSagarOfficial
      @CodeSagarOfficial  ปีที่แล้ว

      you have to add test emails to login with google in test mode. Otherwise you have to publish your google project.

    • @nopolioncollection
      @nopolioncollection ปีที่แล้ว +1

      @@CodeSagarOfficial how to do that

    • @sandovalvaz6093
      @sandovalvaz6093 3 หลายเดือนก่อน

      @@nopolioncollection in the third sept form OAuth consent

  • @SubinKrishnaKT
    @SubinKrishnaKT หลายเดือนก่อน

    JEERO ALLA MANDA (FOOL) ITS ZERO

  • @empiregood9225
    @empiregood9225 4 หลายเดือนก่อน

    I WATCHED THE WHOLE VIDEO, AND IN THE VIDEO'S 6 MINUTES AND 40 SECONDS LENGTH, THE CREATOR OF THIS CONTENT MAKES A MONTAGE OF A SCENE AS IF THE RESPONSE FROM THE WEB WAS TRUE AND FUNCTIONAL.
    PEOPLE, THIS VIDEO WAS A SCAM OF VIEWS, I DO NOT RECOMMEND THIS CHANNEL. DISLIKE.
    THIS USER PROMOTED MISINFORMATION.

    • @CodeSagarOfficial
      @CodeSagarOfficial  4 หลายเดือนก่อน

      Hi, Thanks for you comment.
      You can check all video and try at your end. you will get the same response in the video. It may be editing issue at that particular time.

  • @ManuelRicoMolina
    @ManuelRicoMolina 9 หลายเดือนก่อน

    This video helped me. Thanks.