Add openid scope when redirecting to external openid provider
This commit is contained in:
parent
b4e0e7e2f6
commit
ffde50453a
1 changed files with 1 additions and 1 deletions
|
@ -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}`
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue