Skip to content

Commit

Permalink
make archiver routes match also "/archiver" instead of "/archiver/" only
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Sep 22, 2021
1 parent c1dd0ea commit 93ac175
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
44 changes: 44 additions & 0 deletions config/identifier-registration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# OpenID Connect client registry.
clients:
- id: web
name: ownCloud web app
trusted: yes
redirect_uris:
- https://localhost:9200/
- https://localhost:9200/oidc-callback.html
- https://localhost:9200/oidc-silent-redirect.html
origins:
- https://localhost:9200

- id: ocis-explorer.js
name: oCIS Graph Explorer
trusted: yes
redirect_uris:
- https://localhost:9200/graph-explorer/
origins:
- https://localhost:9200


- id: xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69
secret: UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh
name: ownCloud desktop app
application_type: native
redirect_uris:
- http://127.0.0.1
- http://localhost

- id: e4rAsNUSIUs0lF4nbv9FmCeUkTlV9GdgTLDH1b5uie7syb90SzEVrbN7HIpmWJeD
secret: dInFYGV33xKzhbRmpqQltYNdfLdJIfJ9L5ISoKhNoT9qZftpdWSP71VrpGR9pmoD
name: ownCloud Android app
application_type: native
redirect_uris:
- oc://android.owncloud.com

- id: mxd5OQDk6es5LzOzRvidJNfXLUZS2oN3oUFeXPP8LpPrhx3UroJFduGEYIBOxkY1
secret: KFeFWWEZO9TkisIQzR3fo7hfiMXlOpaqP8CFuTbSHzV1TUuGECglPxpiVKJfOXIx
name: ownCloud iOS app
application_type: native
redirect_uris:
- oc://ios.owncloud.com
- oc.ios://ios.owncloud.com
4 changes: 2 additions & 2 deletions proxy/pkg/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func defaultPolicies() []config.Policy {
Backend: "http://localhost:9130",
},
{
Endpoint: "/archiver/",
Endpoint: "/archiver",
Backend: "http://localhost:9140",
},
{
Expand Down Expand Up @@ -384,7 +384,7 @@ func defaultPolicies() []config.Policy {
Backend: "http://localhost:9130",
},
{
Endpoint: "/archiver/",
Endpoint: "/archiver",
Backend: "http://localhost:9140",
},
{
Expand Down

0 comments on commit 93ac175

Please sign in to comment.