Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
--bug=1051986 --user=王孝刚 【登录】登录页面选择 OAuth2 方式,没有反应 https://www.tapd.cn/57709429/s/1650890
  • Loading branch information
wxg0103 committed Feb 5, 2025
1 parent 194cce2 commit a2cb4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function redirectAuth(authType: string) {
if (authType === 'OIDC') {
url = `${config.authEndpoint}?client_id=${config.clientId}&redirect_uri=${redirectUrl}&response_type=code&scope=openid+profile+email`
}
if (authType === 'OAUTH2') {
if (authType === 'OAuth2') {
url =
`${config.authEndpoint}?client_id=${config.clientId}&response_type=code` +
`&redirect_uri=${redirectUrl}&state=${res.data.id}`
Expand Down

0 comments on commit a2cb4fc

Please sign in to comment.