added http provider
This commit is contained in:
parent
99ea402bad
commit
a7b417abdf
8 changed files with 575 additions and 23 deletions
14
src/providers/LoginButton.tsx
Normal file
14
src/providers/LoginButton.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue