mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix!: do not allow insecure oauth requests by default (#27844)
* fix!: do not allow insecure oauth requests by default * fix: format * fix: make open-api * fix: tests * nit: casing * chore: migration to allow insecure if current oauth uses http
This commit is contained in:
parent
9c642bd6fc
commit
3356e81c85
11 changed files with 77 additions and 3 deletions
|
|
@ -24302,6 +24302,10 @@
|
|||
},
|
||||
"SystemConfigOAuthDto": {
|
||||
"properties": {
|
||||
"allowInsecureRequests": {
|
||||
"description": "Allow insecure requests",
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoLaunch": {
|
||||
"description": "Auto launch",
|
||||
"type": "boolean"
|
||||
|
|
@ -24379,6 +24383,7 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"allowInsecureRequests",
|
||||
"autoLaunch",
|
||||
"autoRegister",
|
||||
"buttonText",
|
||||
|
|
|
|||
|
|
@ -2502,6 +2502,8 @@ export type SystemConfigNotificationsDto = {
|
|||
smtp: SystemConfigSmtpDto;
|
||||
};
|
||||
export type SystemConfigOAuthDto = {
|
||||
/** Allow insecure requests */
|
||||
allowInsecureRequests: boolean;
|
||||
/** Auto launch */
|
||||
autoLaunch: boolean;
|
||||
/** Auto register */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue