mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
feat: enhance OAuth configuration to support proxy mode and update related logic
This commit is contained in:
+10
-16
@@ -3,45 +3,39 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"exampleProperty": {
|
||||
"type": "string"
|
||||
"oauthProxyUrl": {
|
||||
"type": "string",
|
||||
"description": "Sobreescribe la URL base del proxy OAuth (por defecto usa la constante del código). Útil para staging o desarrollo del proxy."
|
||||
},
|
||||
"startggClientId": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Client ID de tu OAuth app de start.gg"
|
||||
"description": "DEV ONLY: Client ID de tu propia OAuth app de start.gg. Si está presente junto a startggClientSecret, activa el modo dev (exchange directo, sin proxy)."
|
||||
},
|
||||
"startggClientSecret": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Client Secret de tu OAuth app de start.gg"
|
||||
"description": "DEV ONLY: Client Secret de tu propia OAuth app de start.gg. NUNCA subas este valor a git."
|
||||
},
|
||||
"startggOAuthPort": {
|
||||
"type": "integer",
|
||||
"default": 34920,
|
||||
"minimum": 1,
|
||||
"maximum": 65535,
|
||||
"description": "Puerto local para callback OAuth"
|
||||
"description": "Puerto local para el servidor de callback OAuth de start.gg."
|
||||
},
|
||||
"challongeClientId": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Client ID de tu OAuth app de Challonge"
|
||||
"description": "DEV ONLY: Client ID de tu propia OAuth app de Challonge. Si está presente junto a challongeClientSecret, activa el modo dev."
|
||||
},
|
||||
"challongeClientSecret": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Client Secret de tu OAuth app de Challonge"
|
||||
"description": "DEV ONLY: Client Secret de tu propia OAuth app de Challonge. NUNCA subas este valor a git."
|
||||
},
|
||||
"challongeOAuthPort": {
|
||||
"type": "integer",
|
||||
"default": 34921,
|
||||
"minimum": 1,
|
||||
"maximum": 65535,
|
||||
"description": "Puerto local para callback OAuth de Challonge"
|
||||
"description": "Puerto local para el servidor de callback OAuth de Challonge."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"exampleProperty"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user