Skip to content

Commit

Permalink
feat: add authType for authproviders (#65)
Browse files Browse the repository at this point in the history
为 AuthProviders 添加 authType 字段。

```release-note
为 AuthProviders 添加 authType 字段。
```
  • Loading branch information
ruibaby authored Oct 14, 2024
1 parent ef9e4c4 commit 5853d41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/extensions/auth-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
authenticationUrl: /oauth2/authorization/github
bindingUrl: /oauth2/authorization/github
unbindUrl: /apis/uc.api.auth.halo.run/v1alpha1/user-connections/github/disconnect
authType: oauth2
settingRef:
name: generic-oauth2-setting
group: genericOauth
Expand All @@ -33,6 +34,7 @@ spec:
authenticationUrl: /oauth2/authorization/gitee
bindingUrl: /oauth2/authorization/gitee
unbindUrl: /apis/uc.api.auth.halo.run/v1alpha1/user-connections/gitee/disconnect
authType: oauth2
settingRef:
name: generic-oauth2-setting
group: genericOauth
Expand All @@ -53,6 +55,7 @@ spec:
authenticationUrl: /oauth2/authorization/gitlab
bindingUrl: /oauth2/authorization/gitlab
unbindUrl: /apis/uc.api.auth.halo.run/v1alpha1/user-connections/gitlab/disconnect
authType: oauth2
settingRef:
name: generic-oauth2-setting
group: genericOauth
Expand Down

0 comments on commit 5853d41

Please sign in to comment.