Google OAuth Error #226
-
I followed the docs (https://docs.fief.dev/configure/oauth-providers/#google) to configure Google OAuth Provider and get the client id and client secret. I created an OAuth Provider and associated to a tenant. When I try to login using Google, I got the following error: URL: /oauth/callback?state=XXXXcode=XXXX&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&authuser=0&hd=XXXX&prompt=none
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Strange, it seems Fief is not able to call the Google API. From your container, can you reach Something like: |
Beta Was this translation helpful? Give feedback.
-
I ran this command and got this response:
|
Beta Was this translation helpful? Give feedback.
-
I managed to solve this issue. I restarted docker service and runned docker compose again and the google oauth flow worked. |
Beta Was this translation helpful? Give feedback.
I managed to solve this issue. I restarted docker service and runned docker compose again and the google oauth flow worked.