Skip to content

Commit

Permalink
Make the tokeninfo endpoint unprotected as it is supposed to be avail…
Browse files Browse the repository at this point in the history
…able to the public
  • Loading branch information
JammingBen committed Sep 30, 2022
1 parent 3b95dcc commit a323cf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/tokeninfo-endpoint-auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Make tokeninfo endpoint unprotected

Make the tokeninfo endpoint unprotected as it is supposed to be available to the public.

https://github.com/owncloud/ocis/pull/4715
3 changes: 2 additions & 1 deletion services/proxy/pkg/middleware/authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ var (
_publicPaths = [...]string{
"/dav/public-files/",
"/remote.php/dav/public-files/",
"/remote.php/ocs/apps/files_sharing/api/v1/tokeninfo/unprotected",
"/ocs/v1.php/apps/files_sharing/api/v1/tokeninfo/unprotected",
"/ocs/v2.php/apps/files_sharing/api/v1/tokeninfo/unprotected",
"/ocs/v1.php/cloud/capabilities",
}
)
Expand Down

0 comments on commit a323cf3

Please sign in to comment.