Skip to content

Instantly share code, notes, and snippets.

@thisismydesign
Created June 18, 2021 09:44
Show Gist options
  • Save thisismydesign/262efae3885376f9950312d8b404dc73 to your computer and use it in GitHub Desktop.
Save thisismydesign/262efae3885376f9950312d8b404dc73 to your computer and use it in GitHub Desktop.
Cognito via OAuth2 in NestJS: keep user data in your app, let Cognito handle passwords and social login /2
OAUTH_COGNITO_ID=abcd123
OAUTH_COGNITO_SECRET=abcd123
OAUTH_COGNITO_REDIRECT_URL=http://localhost:3000/auth/cognito/redirect
OAUTH_COGNITO_DOMAIN=https://test-app.auth.us-east-1.amazoncognito.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment