amazon-cognito-auth-js icon indicating copy to clipboard operation
amazon-cognito-auth-js copied to clipboard

How to authenticate user based on special condition in aws cognito

Open KhalilMohammad opened this issue 6 years ago • 0 comments

Basically I want to authenticate user if certain condition passes. This is basically like a no password flow.

In this flow, I have a jwt token issued by an exchange server.

If the jwt token is valid, then aws cognito should consider this request as authenticated and provide access token to use.

Refresh tokens are not needed as the jwt token issued by exchange server will act as refresh token.

I really need to finish this before Monday. Please let me know if this strategy will work at all. Or I should try alternative strategy.

Questions asked at stackoverflow and aws forum. https://stackoverflow.com/questions/58126035/how-to-authenticate-user-based-on-special-condition-in-aws-cognito https://forums.aws.amazon.com/thread.jspa?threadID=310384

Also, please tell me if this is correct please to ask aws cognito questions. Or guide where should I ask?

KhalilMohammad avatar Sep 28 '19 02:09 KhalilMohammad