SSO with AWS Cognito Not Working
We are trying to set up SSO with Microsoft on our AWS with Amplify and it is not letting any account sign in. We have it set up to accept any account type (personal and organizational). We are getting the following error code: "Selected user account does not exist in tenant ‘…’ and cannot access the application ‘…’ in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account."
We have it set up as a singled page application set up with a client ID and secret and it is being redirected back to Cognito hosted UI. For Cognito we have it connected to the Microsoft SSO added as an identity provider.