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

This commit is contained in:
Jannik Stehle
2022-09-30 09:07:02 +02:00
committed by Ralf Haferkamp
parent f91a0b45a5
commit dd2abc94ee
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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",
}
)