From 520e8f9c77fc84359af51c7bffdf4fb249d23ff5 Mon Sep 17 00:00:00 2001 From: krumelmonster Date: Wed, 14 Feb 2024 16:10:09 +0100 Subject: [PATCH] switch config.yml_example_gitea to oidc provider the github provider isn't working for gitea on vouch-proxy 0.18+ https://github.com/vouch/vouch-proxy/issues/346 --- config/config.yml_example_gitea | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.yml_example_gitea b/config/config.yml_example_gitea index 532d530f..3f805f93 100644 --- a/config/config.yml_example_gitea +++ b/config/config.yml_example_gitea @@ -20,10 +20,10 @@ oauth: # replace "gitea.yourdomain.com" with the domain your Gitea instance runs on # create a new OAuth application at: # https://gitea.yourdomain.com/user/settings/applications - provider: github + provider: oidc client_id: xxxxxxxxxxxxxxxxxxxx client_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx auth_url: https://gitea.yourdomain.com/login/oauth/authorize token_url: https://gitea.yourdomain.com/login/oauth/access_token - user_info_url: https://gitea.yourdomain.com/api/v1/user?token= + user_info_url: https://gitea.yourdomain.com/login/oauth/userinfo callback_url: https://yourdomain.com/auth