mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03: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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user