When I test it locally it works perfectly, but When I deploy it in AWS, It is not working.
I have 2 routes:
/login/google
/login/google/redirect
The first one works, It shows me the page to select my google account, when I select my google account, It redirects me to the second route (/login/google/redirect/) but I received a timeout error.
In GCP, I have the following Authorized domains
I also checked Authorized redirect URIs and they look good.
I suspect the issue is on my Authorized domains but not sure how to solve it.
I'm trying to implement OAuth2 with Google in an AWS lambda function. This is my strategy implementation.
// google-strategy-guard.ts
// google-strategy-service.ts
When I test it locally it works perfectly, but When I deploy it in AWS, It is not working.
I have 2 routes:
The first one works, It shows me the page to select my google account, when I select my google account, It redirects me to the second route (/login/google/redirect/) but I received a timeout error.
In GCP, I have the following Authorized domains
I also checked Authorized redirect URIs and they look good.
I suspect the issue is on my Authorized domains but not sure how to solve it.
Thank you in advance.