temp output for debug
This commit is contained in:
parent
c89ef8d48a
commit
09b9d3bb9a
2 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,10 @@ function AuthHTTPWrapper() {
|
||||||
|
|
||||||
let client_id = import.meta.env.VITE_AUTH0_DEV_CLIENT_ID;
|
let client_id = import.meta.env.VITE_AUTH0_DEV_CLIENT_ID;
|
||||||
|
|
||||||
|
console.log("Domain: ", url)
|
||||||
|
console.log("Audience: ", audience)
|
||||||
|
console.log("Client: ", client_id)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Auth0Provider
|
<Auth0Provider
|
||||||
domain={or(url, "")}
|
domain={or(url, "")}
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ export default function AuthWrapper(props: Props) {
|
||||||
if (t.length < 1) {
|
if (t.length < 1) {
|
||||||
loginWithRedirect()
|
loginWithRedirect()
|
||||||
}
|
}
|
||||||
|
console.log("Token: ", t)
|
||||||
setToken(t)
|
setToken(t)
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
// No token, go back to login
|
// No token, go back to login
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue