Jon Holman
06/12/2022, 3:11 AMconst provider = new cognito.UserPoolIdentityProviderGoogle(stack, "Google", {
Is there a way I can provide my Google clientId and clientSecret directly to the Auth constructor?
Do I need an identity pool if I'm not providing access to AWS services (if not, how do I do that via the SST's Auth constructor)?
Thanks for your help.Arpad
06/12/2022, 8:53 AMArpad
06/12/2022, 8:55 AMJon Holman
06/12/2022, 4:27 PMJon Holman
06/12/2022, 4:29 PMJon Holman
06/12/2022, 4:29 PMFrank
Frank
Frank
For my users to login with google accounts, do I need to create *UserPool*IdentityProviderGoogle outside of the Auth constructor and then link it to the object created be the Auth constructor?Yes for now. (^ it’s on our roadmap to have the Auth constructs create the
*UserPool*IdentityProviderGoogle
internally)Frank
can I prevent any google user from logging in, meaning I need to invite users for their google account to work on my app?I don’t know if there’s an easier way, but you can use the Cognito User Pool triggers to manually check if the sign up user has been invited.
Jon Holman
06/13/2022, 6:42 PM