-
Notifications
You must be signed in to change notification settings - Fork 821
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
Is there a way to remove CognitoUserPool in Identity Providers and remove Sign in/Sign out URLs? #5481
Comments
@aedrianescultura you can run |
This option: Add/Edit signin and signout redirect URIs does not allow you to remove the redirect URIs. You can only add or edit, but you cannot remove the URI. |
@aedrianescultura Answers to both your questions: Q: Is there a way to remove a URL in Callback and Sign out URLs section? cc @renebrandel |
@kaustavghosh06 I do use callback and signout URLs. However, there was an instance where I needed to remove one of the URLs and I did not find a way to do this from the CLI. |
@aedrianescultura Got it. Yes - the CLI UX doesn't allow for this today when you add multiple URL's. I'm adding this as an enhancement which we can look into. cc @renebrandel |
@kaustavghosh06 The enhancement would be great. Thanks for the workaround. |
Any update on enabling social-only login? |
Regarding the removal of the CognitoUserPool: you can do this in gen2 amplify by overriding the CloudFormation resource: const backend = defineBackend({ auth, data });
const { cfnUserPool, cfnUserPoolClient } = backend.auth.resources.cfnResources
cfnUserPoolClient.supportedIdentityProviders = cfnUserPoolClient.supportedIdentityProviders?.filter(
i => i !== 'COGNITO'
) |
Which Category is your question related to?
Authentication
Amplify CLI Version
4.29.4
What AWS Services are you utilizing?
Cognito
Provide additional details e.g. code snippets
Is there a way to disable the Cognito User Pool as one of the Identity Providers?
Is there a way to remove a URL in Callback and Sign out URLs section?
The text was updated successfully, but these errors were encountered: