'How do I login to aws cognito only with username, without password

The requirement is that an admin should be able to login as any user anytime with just username. So I need a way to authenticate a user with just a username and no password. Is there a way for that in aws cognito? Thanks in advance !!



Solution 1:[1]

As far as I know you've got this and this so you can not sign in as a different user using just the username.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mircea Matei