I have implemented this code as per example and applied for the required permissions however all old users always show the error "Incorrect username or password." when using the Hosted UI.
PS My real issue is that when using the Drop-in UI Cognito authentication it used to ask for email and mobile so users could be authenticated however now that I need to enable federated authentication I had to go to the hostedUI which doesnt show these fields (Yes it was my mistake that I did not click on them in the standard pool attributes).
Now that the pool is already created I can not add these attributes hence I am trying to migrate the users to a new pool.
Thanks in advance
I have implemented this code as per example and applied for the required permissions however all old users always show the error "Incorrect username or password." when using the Hosted UI.
PS My real issue is that when using the Drop-in UI Cognito authentication it used to ask for email and mobile so users could be authenticated however now that I need to enable federated authentication I had to go to the hostedUI which doesnt show these fields (Yes it was my mistake that I did not click on them in the standard pool attributes).
Now that the pool is already created I can not add these attributes hence I am trying to migrate the users to a new pool.
Thanks in advance