Generate Token through Auth0

This commit is contained in:
Charles Bochet
2023-01-27 12:12:04 +01:00
parent 54acb16db8
commit 8e0dc44bf6
21 changed files with 3616 additions and 2344 deletions

View File

@ -0,0 +1,18 @@
import React, { useEffect } from 'react';
import AuthService from '../hooks/AuthenticationHooks';
function AuthCallback() {
const { useGetAccessToken } = AuthService;
const { token } = useGetAccessToken();
useEffect(() => {
if (token) {
window.location.href = '/';
}
}, [token]);
return <div></div>;
}
export default AuthCallback;

View File

@ -1,5 +1,3 @@
import styled from '@emotion/styled';
function PluginHistory() {
return <div></div>;
}