0

I am using AWS Cognito User Pools for authentication with Active Directory.

How can I disable the Cognito User Pool login button?

I was able to do it with Amplify, by creating my own login button and disabling the AWS default button. However I can not use Amplify on my application. enter image description here enter image description here

1 Answer 1

1

In your App Client settings in cognito user pool settings, Uncheck Cognito User Pool enter image description here

If you need user pool for other use cases you can create another app client and use that.

3
  • Thank you , but the cognito user pool is unchecked Commented Aug 22, 2021 at 11:06
  • Are you using the hosted GUI? Where are you seeing this login as different user prompt? Commented Aug 22, 2021 at 11:33
  • 2
    If you are talking about when user has signed in with Azure AD and comes back to the page, that prompt cannot be disabled. Commented Aug 22, 2021 at 13:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.