Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import AuthClient from './auth-client';
|
||||
|
||||
const getRedirectUri = () => {
|
||||
return location ? `${location.origin}/authorize/` : "http://localhost:3000/authorize/";
|
||||
};
|
||||
|
||||
const auth0Config = {
|
||||
domain: "unbound.eu.auth0.com",
|
||||
clientID: "orQfnvCPUR5C3mJkKoiWLQHOVQsBn60e",
|
||||
redirectUri: getRedirectUri(),
|
||||
audience: "https://unbound.eu.auth0.com/userinfo",
|
||||
responseType: "token id_token",
|
||||
scope: "openid profile"
|
||||
};
|
||||
|
||||
const webAuth = new AuthClient(auth0Config);
|
||||
|
||||
export default webAuth;
|
||||
Reference in New Issue
Block a user