-
Notifications
You must be signed in to change notification settings - Fork 330
/
Copy pathconfig.yml_example_gitea
29 lines (23 loc) · 1 KB
/
config.yml_example_gitea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Vouch Proxy configuration
# bare minimum to get Vouch Proxy running with Gitea
vouch:
domains:
- yourdomain.com
# set allowAllUsers: true to use Vouch Proxy to just accept anyone who can authenticate at Gitea
# allowAllUsers: true
# cookie:
# allow the jwt/cookie to be set into http://yourdomain.com (defaults to true, requiring https://yourdomain.com)
# secure: false
# vouch.cookie.domain must be set when enabling allowAllUsers
# domain: yourdomain.com
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
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=
callback_url: https://yourdomain.com/auth