FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Identity Provider login

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    324
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nadav
      last edited by

      Re: Google identity provider

      Hi,

      We are building our own login page and we are trying to add the sign n with google, i followed the documentation to set up the google identity provider, but calling the /api/identity-provider/login after i get the authorization code from google fails with the following error:
      Google IdP Response Debug Log [82339786-3dff-42a6-aac6-1f1ceecb6c46]

      6/12/2023 04:34:34 PM Z Using code and redirect_uri with login method UseRedirect:
      6/12/2023 04:34:34 PM Z Call the [https://oauth2.googleapis.com/token] endpoint.
      6/12/2023 04:34:34 PM Z Endpoint returned status code [400]
      6/12/2023 04:34:34 PM Z The response was not successful, see the error event log.

      Even though when exchanging the code for token works fine when i use google library.
      any suggestions on how to resolve this?

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @nadav
        last edited by

        Hi @nadav

        Thanks for using FusionAuth.

        What version of FusionAuth are you running?

        What do you see in the error event log?

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post