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: "http://dancefinder.unbound.se", responseType: "token id_token", scope: "openid profile readwrite:settings" }; const webAuth = new AuthClient(auth0Config); export default webAuth;