mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-07 19:59:07 +00:00
feat(server): mobile oauth with custom scheme redirect uri (#1204)
* feat(server): support providers without support for custom schemas * chore: unit tests * chore: test mobile override * chore: add details to the docs
This commit is contained in:
@@ -1764,6 +1764,20 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/oauth/mobile-redirect": {
|
||||
"get": {
|
||||
"operationId": "mobileRedirect",
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"OAuth"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/oauth/config": {
|
||||
"post": {
|
||||
"operationId": "generateConfig",
|
||||
@@ -3799,6 +3813,12 @@
|
||||
},
|
||||
"autoRegister": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"mobileOverrideEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"mobileRedirectUri": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3808,7 +3828,9 @@
|
||||
"clientSecret",
|
||||
"scope",
|
||||
"buttonText",
|
||||
"autoRegister"
|
||||
"autoRegister",
|
||||
"mobileOverrideEnabled",
|
||||
"mobileRedirectUri"
|
||||
]
|
||||
},
|
||||
"SystemConfigStorageTemplateDto": {
|
||||
|
||||
Reference in New Issue
Block a user