Pierre Andrews
commited on
Commit
·
18ca2f5
1
Parent(s):
5602a24
lower scope
Browse files
frontend/src/utils/oauth.ts
CHANGED
|
@@ -73,7 +73,7 @@ export const fetchUserInfo = async (token: string): Promise<UserInfo> => {
|
|
| 73 |
export const startLogin = async () => {
|
| 74 |
const clientId = await getClientId();
|
| 75 |
const redirectUri = await getRedirectUri();
|
| 76 |
-
const scope = "openid profile
|
| 77 |
|
| 78 |
const state = randomString(16);
|
| 79 |
const codeVerifier = randomString(64);
|
|
|
|
| 73 |
export const startLogin = async () => {
|
| 74 |
const clientId = await getClientId();
|
| 75 |
const redirectUri = await getRedirectUri();
|
| 76 |
+
const scope = "openid profile inference-api";
|
| 77 |
|
| 78 |
const state = randomString(16);
|
| 79 |
const codeVerifier = randomString(64);
|