getting client id from white label
This commit is contained in:
parent
e3e8157c41
commit
631865578d
4 changed files with 25 additions and 10 deletions
|
|
@ -5,7 +5,6 @@ import HTTPProvider from 'providers/http'
|
|||
import { useState } from 'react'
|
||||
import LoadingScreen from './LoadingScreen'
|
||||
import UserWrapper from './UserWrapper'
|
||||
import { CssBaseline } from '@mui/material'
|
||||
import { getWhitelabel } from 'services/whiteLabel'
|
||||
import { AppThemeProvider } from 'theme/AppThemeProvider'
|
||||
|
||||
|
|
@ -42,7 +41,9 @@ 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 = import.meta.env.VITE_AUTH0_DEV_CLIENT_ID;
|
||||
let client_id = whiteLabel.auth0ClientId
|
||||
if (!client_id) client_id = import.meta.env.VITE_AUTH0_DEV_CLIENT_ID;
|
||||
// let client_id = import.meta.env.VITE_AUTH0_CLIENT_ID;
|
||||
|
||||
console.log("Domain: " + domain)
|
||||
console.log("Audience: " + audience)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue