Add authentication to your app in 5 minutes.
Go the https://feather.id and create an account to get your project's API key.
$ yarn add feather-client-reactimport { Feather } from "feather-client-react";
const feather = Feather("pk_test_....");
feather.onStateChange((currentSession, currentUser) => {
// Get updates anytime your app's authentication state changes
});import { PasswordAuthenticationForm } from "feather-client-react";
function SignIn() {
return (
<PasswordAuthenticationForm
feather={feather}
redirectUrl="http://yourapp.com/resetPassword"
/>
);
}feather
.confirmForgotPasswordLink(window.location.href, "new_p4ssw0rd")
.catch(error => {
// Display an error message
});