added white label client ids
This commit is contained in:
parent
4d3d2c482b
commit
8590d8f694
4 changed files with 15 additions and 25 deletions
|
|
@ -40,16 +40,8 @@ function App() {
|
|||
let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
|
||||
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;
|
||||
|
||||
// let client_id = whiteLabel.auth0ClientId
|
||||
let client_id = import.meta.env.VITE_AUTH0_CLIENT_ID;
|
||||
// if (!client_id) client_id = import.meta.env.VITE_AUTH0_CLIENT_ID;
|
||||
|
||||
//check the url for a code before auth0 causes a login re-direct
|
||||
// if (window.location.pathname !== "/callback") {
|
||||
// //set the code into local storage
|
||||
// let code = new URLSearchParams(window.location.search).get("code");
|
||||
// sessionStorage.setItem("code", code || "")
|
||||
// }
|
||||
let client_id = whiteLabel.auth0ClientId
|
||||
if (!client_id) client_id = import.meta.env.VITE_AUTH0_CLIENT_ID;
|
||||
|
||||
const skipCallbacks = [
|
||||
"/johndeere",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue