Skip to content

Commit

Permalink
Make the ocm-provider endpoint in the ocmd service unprotected (cs3or…
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 authored and tmourati committed Jul 12, 2021
1 parent 5588d9a commit 0f497d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/unreleased/ocm-provider-unprotected.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Bugfix: Make the ocm-provider endpoint in the ocmd service unprotected

https://github.com/cs3org/reva/pull/1831
https://github.com/cs3org/reva/issues/1751
2 changes: 1 addition & 1 deletion internal/http/services/ocmd/ocmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (s *svc) Prefix() string {
}

func (s *svc) Unprotected() []string {
return []string{"/invites/accept", "shares"}
return []string{"/invites/accept", "/shares", "/ocm-provider"}
}

func (s *svc) Handler() http.Handler {
Expand Down

0 comments on commit 0f497d1

Please sign in to comment.