From ffde50453a7fd0929a3b3f5c5ba90675d4dc2271 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 8 Dec 2020 19:33:35 +0100 Subject: [PATCH] Add openid scope when redirecting to external openid provider --- src/views/user/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 98cc03a6..a5e35f9a 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -165,7 +165,7 @@ export default { const state = Math.random().toString(36).substring(2, 24) localStorage.setItem('state', state) - window.location.href = `${provider.authUrl}?client_id=${provider.clientId}&redirect_uri=${this.openidConnect.redirectUrl}${provider.key}&response_type=code&scope=&state=${state}` + window.location.href = `${provider.authUrl}?client_id=${provider.clientId}&redirect_uri=${this.openidConnect.redirectUrl}${provider.key}&response_type=code&scope=openid&state=${state}` }, }, }