mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-25 22:42:16 -05:00
Merge pull request #80 from owncloud/user-provisioning-route
User provisioning route
This commit is contained in:
5
changelog/unreleased/user-provisioning-api.md
Normal file
5
changelog/unreleased/user-provisioning-api.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Change: Add route for user provisioning API in ocis-ocs
|
||||
|
||||
We added a route to send requests on the user provisioning API endpoints to ocis-ocs.
|
||||
|
||||
https://github.com/owncloud/ocis-proxy/pull/80
|
||||
@@ -7,7 +7,9 @@
|
||||
"insecure": true
|
||||
},
|
||||
"policy_selector": {
|
||||
"static": {"policy" : "reva"}
|
||||
"static": {
|
||||
"policy": "reva"
|
||||
}
|
||||
},
|
||||
"policies": [
|
||||
{
|
||||
@@ -33,6 +35,11 @@
|
||||
"endpoint": "/ocs/",
|
||||
"backend": "http://localhost:9140"
|
||||
},
|
||||
{
|
||||
"type": "regex",
|
||||
"endpoint": "/ocs/v[12].php/cloud/user",
|
||||
"backend": "http://localhost:9110"
|
||||
},
|
||||
{
|
||||
"endpoint": "/remote.php/",
|
||||
"backend": "http://localhost:9140"
|
||||
@@ -58,13 +65,13 @@
|
||||
"backend": "http://localhost:9140"
|
||||
},
|
||||
{
|
||||
"endpoint": "/api/v0/accounts",
|
||||
"backend": "http://localhost:9181"
|
||||
},
|
||||
{
|
||||
"endpoint": "/api/v0/accounts",
|
||||
"backend": "http://localhost:9181"
|
||||
},
|
||||
{
|
||||
"endpoint": "/accounts.js",
|
||||
"backend": "http://localhost:9181"
|
||||
}
|
||||
"backend": "http://localhost:9181"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -255,7 +255,7 @@ func defaultPolicies() []config.Policy {
|
||||
},
|
||||
{
|
||||
Type: config.RegexRoute,
|
||||
Endpoint: "/ocs/v[12].php/cloud/user/signing-key",
|
||||
Endpoint: "/ocs/v[12].php/cloud/user",// we have `user` and `users` in ocis-ocs
|
||||
Backend: "http://localhost:9110",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user