feat(core): improve auth handling (#15271)

fix #15270
fix #15260
fix #15257


#### PR Dependency Tree


* **PR #15271** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
DarkSky
2026-07-18 06:27:01 +08:00
committed by GitHub
parent 427db39862
commit d24c17f300
17 changed files with 273 additions and 99 deletions
+10 -1
View File
@@ -1612,7 +1612,7 @@
},
"providers.oidc": {
"type": "object",
"description": "OIDC OAuth provider config\n@default {\"clientId\":\"\",\"clientSecret\":\"\",\"issuer\":\"\",\"args\":{}}\n@link https://openid.net/specs/openid-connect-core-1_0.html",
"description": "OIDC OAuth provider config. Private network access requires allowPrivateNetwork: true\n@default {\"clientId\":\"\",\"clientSecret\":\"\",\"issuer\":\"\",\"allowPrivateNetwork\":false,\"args\":{}}\n@link https://openid.net/specs/openid-connect-core-1_0.html",
"properties": {
"clientId": {
"type": "string"
@@ -1622,12 +1622,21 @@
},
"args": {
"type": "object"
},
"issuer": {
"type": "string",
"description": "OIDC issuer URL"
},
"allowPrivateNetwork": {
"type": "boolean",
"description": "Allow the OIDC issuer origin to resolve to private network addresses"
}
},
"default": {
"clientId": "",
"clientSecret": "",
"issuer": "",
"allowPrivateNetwork": false,
"args": {}
}
},