Power Automate - Part 1/3 - Google API OAuth 2.0 - Obtain Authorization Code

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025
  • Part 1/3 Power Automate - Google API OAuth 2.0 video series explains how to access Google API using OAuth 2.0. The first part is how to get the authorization code.
    Related Video Part 2 - How to obtain access and refresh tokens?
    • Power Automate - Part ...
    Related Video Part 3 - How to obtain bearer token using refresh token and access Google Drive API?
    • Power Automate - Part ...
    Configuration setting up the project and getting the client id
    console.cloud....
    Copy the below URL in your browser to get the code. Replace client_id below.
    accounts.googl...
    Authorised redirect URIs
    global.consent...
    Documentation regarding Server-side Web Apps
    developers.goo...
    developers.goo...
    Documentation regarding Google API Scope
    developers.goo...

Комментарии • 22

  • @nickroe5992
    @nickroe5992 Год назад +2

    In the google console credentials, where did you get this "Authorized redirect URL" for power automate? Any idea where I'd get it if I was using Microsoft Access VBA code to call APIs?

    • @abm4975
      @abm4975  Год назад

      That URL is well documents from Microsoft. Most likely that is your local host. localhost.

  • @ЖораБаранов-ы2э
    @ЖораБаранов-ы2э Год назад +1

    You are the best))

    • @abm4975
      @abm4975  Год назад

      Thanks a lot for your support

  • @RalfHeid
    @RalfHeid Год назад +2

    It is much easier if you use a customer connector and do the login through it. The complex OAUTH2 is done by Microsoft Standard.

  • @bestquotes2765
    @bestquotes2765 Год назад +1

    I want to access my youtube analytics api. What is the redirect url for that?

    • @abm4975
      @abm4975  Год назад

      Hi
      I haven't tried that yet. Let me see.
      Thanks for the support.

  • @harlemworldautomations
    @harlemworldautomations Год назад +1

    I'm currently getting the below error when in POSTMAN. Any ideas?
    Authorization Error
    Error 400: invalid_request
    Required parameter is missing: response_type
    My response_type=code

    • @abm4975
      @abm4975  Год назад

      Hi
      I need to see the POSTMAN and related http url and values. If you still need help check my channel about section. I could look this into via screenshare.
      Thanks

  • @equiposInn
    @equiposInn Год назад +1

    Very useful video. Do you know how can I do if I want to send an HTTP Request from Google Tag Manager (side-server) to Calendly, that HTTP Request only works if I authenticate Google Tag Manager in to Calendly with OAuth 2.0.

    • @abm4975
      @abm4975  Год назад

      Hi
      Looks like you need to get the Authorization code first
      calendly.stoplight.io/docs/api-docs/60a14408d6743-get-authorization-code
      Then using this code you can get the access token
      calendly.stoplight.io/docs/api-docs/be9b32ef4b44c-get-access-token

    • @equiposInn
      @equiposInn Год назад +1

      ​@@abm4975 Thanks for your answer. The thing is that I´m not a tech person so I don´t understand the site you sent me, I need like a tutorial step by step in order to be able to set up the authentication I need

    • @abm4975
      @abm4975  Год назад

      Hi
      I did tried that API and the auth code works from the browser only. I did emailed the Calendly support team to ask about it. Waiting for their reply. Will update later.
      Thanks

    • @equiposInn
      @equiposInn Год назад +1

      @@abm4975 You´re an angel ☺. Please let me know any new if they answered 🙏

    • @abm4975
      @abm4975  Год назад

      Yes I will. Thanks

  • @flavorsofcooking3974
    @flavorsofcooking3974 2 года назад +1

    Hi @abm, great and detailed video. Can you give some realtime scenarios where we need to use Google API in projects?

    • @abm4975
      @abm4975  2 года назад

      Hi S,
      Thanks so much for the support. You can pretty much access all the products from Google via API. Suppose you have a photo you want to upload from SharePoint to Google Photos or accessing RUclips trend and details.

  • @thapelomohotsi2896
    @thapelomohotsi2896 2 года назад +1

    Can I do google consent via api?

    • @abm4975
      @abm4975  2 года назад

      Could you explain a bit more about this?