mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: patch oauth2-proxy to support scopes as groups
This commit is contained in:
parent
1a0378ee5c
commit
eb9ee0bf0d
7 changed files with 65 additions and 16 deletions
|
@ -36,7 +36,7 @@ in {
|
|||
forceSSL = true;
|
||||
useACMEHost = sentinelCfg.lib.extra.matchingWildcardCert adguardhomeDomain;
|
||||
oauth2.enable = true;
|
||||
oauth2.allowedGroups = ["adguardhome"];
|
||||
oauth2.allowedGroups = ["access_adguardhome"];
|
||||
locations."/" = {
|
||||
proxyPass = "http://adguardhome";
|
||||
proxyWebsockets = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue