@webiny/api-cognito-authenticator
v5.43.6
Published
Authenticator for AWS Cognito idToken
Downloads
1,096
Readme
@webiny/api-cognito-authenticator
About
This is an authenticator for idToken JWT received from AWS Cognito. It's not a plugin, but a simple function which you configure with your User Pool, then pass an idToken value to it, and if the token is valid, it returns an Identity object.
To use it, you can wrap it with a ContextPlugin and use in conjunction with api-authentication or api-security applications, for example.
