Skip to content

Commit 520e8f9

Browse files
switch config.yml_example_gitea to oidc provider
the github provider isn't working for gitea on vouch-proxy 0.18+ #346
1 parent a676feb commit 520e8f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config/config.yml_example_gitea

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ oauth:
2020
# replace "gitea.yourdomain.com" with the domain your Gitea instance runs on
2121
# create a new OAuth application at:
2222
# https://gitea.yourdomain.com/user/settings/applications
23-
provider: github
23+
provider: oidc
2424
client_id: xxxxxxxxxxxxxxxxxxxx
2525
client_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2626
auth_url: https://gitea.yourdomain.com/login/oauth/authorize
2727
token_url: https://gitea.yourdomain.com/login/oauth/access_token
28-
user_info_url: https://gitea.yourdomain.com/api/v1/user?token=
28+
user_info_url: https://gitea.yourdomain.com/login/oauth/userinfo
2929
callback_url: https://yourdomain.com/auth

0 commit comments

Comments
 (0)