-
Notifications
You must be signed in to change notification settings - Fork 819
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
Delete the auth application client by override #13159
Comments
Hey @antennix 👋 thanks for raising this! Out of curiosity what are you looking to accomplish or are concerned about from a security standpoint? Please note that once a client is deleted from your Cognito resource you will be unable to recreate the client through Amplify or its overrides |
@josefaidt I understand the risk that [xxx_app_client] cannot be recreated once deleted. |
Hey @antennix that is understandable! Unfortunately the user pool clients cannot be removed via an override, and instead it would be suggested to create and maintain the User Pool outside of Amplify and use |
|
Amplify CLI Version
12.3.0
Question
Using "amplify add auth", application clients [xxx__app_client] and [xxx_app_clientWeb] are created.
However, I don't need the xxx__app_client in my project.
To ensure we do not violate internal security rules, I'm thinking of deleting this application client.
I understand that it can be deleted from the management console
but can't it be removed using "amplify override auth"?
The code below did not allow me to delete the unnecessary application client.
The text was updated successfully, but these errors were encountered: