mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-08 04:20:59 -05:00
Make the tokeninfo endpoint unprotected as it is supposed to be available to the public
This commit is contained in:
committed by
Ralf Haferkamp
parent
f91a0b45a5
commit
dd2abc94ee
@@ -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
|
||||||
@@ -24,7 +24,8 @@ var (
|
|||||||
_publicPaths = [...]string{
|
_publicPaths = [...]string{
|
||||||
"/dav/public-files/",
|
"/dav/public-files/",
|
||||||
"/remote.php/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",
|
"/ocs/v1.php/cloud/capabilities",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user