Skip to content
New issue

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

Allow client secret in User Pool #13334

Closed
AWS-crafter opened this issue Oct 16, 2023 · 3 comments
Closed

Allow client secret in User Pool #13334

AWS-crafter opened this issue Oct 16, 2023 · 3 comments
Labels
auth Issues tied to the auth category of the CLI override Issues related to resource override CDK functionality pending-response Issue is pending response from the issue author pending-triage Issue is pending triage

Comments

@AWS-crafter
Copy link

AWS-crafter commented Oct 16, 2023

Allow client secret in User Pool: https://docs.amplify.aws/lib/client-configuration/configuring-amplify-categories/q/platform/js/#scoped-configuration

Describe the solution you'd like

Client secret works in User Pool

@AWS-crafter AWS-crafter added the pending-triage Issue is pending triage label Oct 16, 2023
@ykethan
Copy link
Member

ykethan commented Oct 16, 2023

Hey @AWS-crafter, thank you for reaching out. To better assist you are you looking to use the Amplify CLI to enable client secrets for the auth resource or looking to set the client secrets in Amplify.configure()?
If you would like to enable client secrets for the native and web clients we can utilize Amplify override for auth resource by running amplify override auth and utilize the following example:

import { AmplifyAuthCognitoStackTemplate } from '@aws-amplify/cli-extensibility-helper'

export function override(resources: AmplifyAuthCognitoStackTemplate) {
  resources.userPoolClient.generateSecret = true
  resources.userPoolClientWeb.generateSecret = true
}

@ykethan ykethan added auth Issues tied to the auth category of the CLI pending-response Issue is pending response from the issue author override Issues related to resource override CDK functionality labels Oct 16, 2023
@ykethan
Copy link
Member

ykethan commented Dec 13, 2023

closing the issue due to inactivity. please feel free in reaching out to us, we would be happy in diving deeper.

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Issues tied to the auth category of the CLI override Issues related to resource override CDK functionality pending-response Issue is pending response from the issue author pending-triage Issue is pending triage
Projects
None yet
Development

No branches or pull requests

2 participants