You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement OAuth2 with Google in an AWS lambda function.
Expected behavior
I should be able to login into my app with Google using oauth2 with my code deployed in AWS Lambda.
Actual behavior
I have a timeout error in lambda logs.
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'm trying to implement OAuth2 with Google in an AWS lambda function.
Expected behavior
I should be able to login into my app with Google using oauth2 with my code deployed in AWS Lambda.
Actual behavior
I have a timeout error in lambda logs.
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.
Steps to reproduce
// google-strategy-guard.ts
// google-strategy-service.ts
//
I suspect the issue is on my Authorized domains but not sure how to solve it.
Thank you in advance.
Environment
The text was updated successfully, but these errors were encountered: