The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
424
stars
232
forks
source link
How to authenticate user based on special condition in aws cognito #208
Open
KhalilMohammad opened 4 years ago
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?