@webiny/app-cognito-authenticator
v5.41.1
Published
A tiny wrapper around Amplify Auth to build custom login UI
Downloads
2,091
Readme
@webiny/app-cognito-authenticator
About
This is a utility package which serves as a base for building custom signup/signin UI based on Amplify Auth and AWS Cognito, in context of Webiny Admin Area.
It provides an component, and a bunch of hooks to use in your custom UI. They contain the necessary logic and state transitions; you only need to hook them up to your UI components:
- useAuthenticator
- useForgotPassword
- useRequireNewPassword
- useSetNewPassword
- useSignedIn
- useSignIn
Where is it used?
Currently, this packaged is used in @webiny/app-admin-cognito.