# Google Login with AWS serverless

**URL:** <https://forum.serverless.com/t/google-login-with-aws-serverless/7451>\
**Category:** Serverless Framework\
**Tags:** aws, google, lambda, iam\
**Created:** [February 20, 2019, 6:19pm UTC](https://forum.serverless.com/t/google-login-with-aws-serverless/7451 "2019-02-20T18:19:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jghorton14](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/jghorton14/32/3060_2.png) [@jghorton14](https://forum.serverless.com/u/jghorton14)\
**Post date:** [February 20, 2019, 6:19pm UTC](https://forum.serverless.com/t/google-login-with-aws-serverless/7451/1 "2019-02-20T18:19:14Z")

</div>

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.
