We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@maxpschonder
The text was updated successfully, but these errors were encountered:
here is the cdk code that @maxpschonder helped me set up
const enduserClient = pool.addClient('enduser-pool-client', { idTokenValidity: cdk.Duration.days(1), accessTokenValidity: cdk.Duration.days(1), refreshTokenValidity: cdk.Duration.days(180), authFlows: { userPassword: true, userSrp: true, }, generateSecret: false, preventUserExistenceErrors: true, readAttributes: new cognito.ClientAttributes().withStandardAttributes({ fullname: true, email: true, preferredUsername: true, }), oAuth: { callbackUrls: [`https://enduser.${props.environment}.your-domain.xyz/`], logoutUrls: [`https://enduser.${props.environment}.your-domain.xyz/`], scopes: [ cognito.OAuthScope.EMAIL, cognito.OAuthScope.OPENID, cognito.OAuthScope.PROFILE, cognito.OAuthScope.COGNITO_ADMIN, ], }, }) const devClient = pool.addClient('enduser-pool-dev-client', { idTokenValidity: cdk.Duration.days(1), accessTokenValidity: cdk.Duration.days(1), refreshTokenValidity: cdk.Duration.days(30), authFlows: { userPassword: true, adminUserPassword: true, }, generateSecret: false, preventUserExistenceErrors: true, readAttributes: new cognito.ClientAttributes().withStandardAttributes({ fullname: true, email: true, preferredUsername: true, }), oAuth: { callbackUrls: ['http://localhost:9000/'], logoutUrls: ['http://localhost:9000/'], scopes: [ cognito.OAuthScope.EMAIL, cognito.OAuthScope.OPENID, cognito.OAuthScope.PROFILE, cognito.OAuthScope.COGNITO_ADMIN, ], }, })
Sorry, something went wrong.
No branches or pull requests
@maxpschonder
The text was updated successfully, but these errors were encountered: