diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index e003735a..d097185f 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -88,7 +88,7 @@ v-for="(p, k) in openidConnect.providers" :key="k" type="secondary" - class="is-fullwidth" + class="is-fullwidth mt-2" > Log in with {{ p.name }} @@ -179,7 +179,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=openid&state=${state}` + window.location.href = `${provider.authUrl}?client_id=${provider.clientId}&redirect_uri=${this.openidConnect.redirectUrl}${provider.key}&response_type=code&scope=openid email profile&state=${state}` }, }, }