diff --git a/apps/web-ele/src/config/oauth.ts b/apps/web-ele/src/config/oauth.ts index 6618875..c508d14 100644 --- a/apps/web-ele/src/config/oauth.ts +++ b/apps/web-ele/src/config/oauth.ts @@ -2,7 +2,7 @@ export const oauthConfig = { clientId: import.meta.env.VITE_OAUTH_CLIENT_ID || 'fengling-console', redirectUri: import.meta.env.VITE_OAUTH_REDIRECT_URI || `${window.location.origin}/auth/callback`, authUrl: import.meta.env.VITE_AUTH_SERVICE_URL || 'http://localhost:5000', - scope: import.meta.env.VITE_OAUTH_SCOPE || 'api offline_access openid profile email roles', + scope: import.meta.env.VITE_OAUTH_SCOPE || 'api offline_access openid profile email', endpoints: { authorize: '/connect/authorize',