Working Auth0 on site

This commit is contained in:
2021-09-28 21:29:15 -05:00
parent d4d904d165
commit 8855709a34
11 changed files with 138 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
import React from "react";
import { useAuth0 } from "@auth0/auth0-react";
const LoginButton = () => {
const { loginWithRedirect } = useAuth0();
return <button onClick={() => loginWithRedirect()}>Log In</button>;
};
export default LoginButton;