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?