Google Login with AWS serverless

Hello,

I am currently trying to set up a simple crud with serverless and having a hard time determining which direction to go in terms of authentication. What is the best way to implement a google login button with authentication with cognito? I understand how to create the user pool but I am getting tripped how to connect the Google Oauth into this. Is is better to get the JWT token and pass that to a lambda to send to user pool or to dynamo db? I found serverless-authentication-boilerplate but I am confused about how to connect everything. Any help with this would be much appreciated.

1 Like