mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
First pass at permissions; Updated auth0 to work with access token instead of id token
This commit is contained in:
@ -39,8 +39,8 @@ interface Props
|
||||
|
||||
export function GoogleDriveFolderPicker({showDefaultFoldersView, showSharedDrivesView, qInstance}: Props): JSX.Element
|
||||
{
|
||||
const clientId = "649816208522-m6oa971vqicrc1hlam7333pt4qck0tm8.apps.googleusercontent.com";
|
||||
const appApiKey = "AIzaSyBhXK34CF2fUfCgUS1VIHoKZbHxEBuHtDM";
|
||||
const clientId = qInstance.environmentValues.get("GOOGLE_APP_CLIENT_ID") || process.env.REACT_APP_GOOGLE_APP_CLIENT_ID;
|
||||
const appApiKey = qInstance.environmentValues.get("GOOGLE_APP_API_KEY") || process.env.REACT_APP_GOOGLE_APP_API_KEY;
|
||||
if(!clientId)
|
||||
{
|
||||
console.error("Missing environmentValue GOOGLE_APP_CLIENT_ID")
|
||||
|
Reference in New Issue
Block a user