Commit d2986a8f authored by Administrator's avatar Administrator

Update index.js

parent c0212247
......@@ -53,7 +53,7 @@ const initGSCAuth = (applicationId, redirectUri, scopes, cacheLocation) => {
return { GSCAuthProvider, GSCAuthConsumer };
};
const setupGSCAuth = (aadAppId, authRedirectUri, msGraphScopes = ["User.Read"], cacheLocation = "sessionStorage") => {
const setupGSCAuth = (aadAppId, authRedirectUri, msGraphScopes = ["User.Read"], cacheLocation = "localStorage") => {
const { GSCAuthProvider, GSCAuthConsumer } = initGSCAuth(aadAppId, authRedirectUri, msGraphScopes, cacheLocation);
const initialAuthValues = getAuthValues();
const clearGSCAuth = () => authentication.signOut();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment