Created
December 30, 2020 07:13
-
-
Save dhavaln/280347b628edfcca91be3f4b66b42448 to your computer and use it in GitHub Desktop.
Cognito Identity Pool Client Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type: AWS::Cognito::UserPoolClient | |
Properties: | |
UserPoolId: !Ref cognitoUserPool | |
AllowedOAuthFlows: | |
- 'implicit' | |
AllowedOAuthFlowsUserPoolClient: true | |
AllowedOAuthScopes: | |
- 'openid' | |
- 'aws.cognito.signin.user.admin' | |
CallbackURLs: | |
- !Join ["", ["https://", !Ref s3DeploymentBucket, ".s3.", !Ref AWS::Region, ".amazonaws.com/index.html"]] | |
ClientName: ${self:custom.environment.normalWebClient}-${opt:stage} | |
DefaultRedirectURI: !Join ["", ["https://", !Ref s3DeploymentBucket, ".s3.", !Ref AWS::Region, ".amazonaws.com/index.html"]] | |
ExplicitAuthFlows: | |
- 'ALLOW_USER_PASSWORD_AUTH' | |
- 'ALLOW_USER_SRP_AUTH' | |
- 'ALLOW_REFRESH_TOKEN_AUTH' | |
GenerateSecret: false | |
LogoutURLs: | |
- !Join ["", ["https://", !Ref s3DeploymentBucket, ".s3.", !Ref AWS::Region, ".amazonaws.com/index.html"]] | |
PreventUserExistenceErrors: 'ENABLED' | |
SupportedIdentityProviders: | |
- 'COGNITO' | |
RefreshTokenValidity: 3650 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment