check cookie for before we fall back to the default policy

This commit is contained in:
Willy Kloucek
2021-11-29 09:51:39 +01:00
parent a7dc0ce196
commit d85def9b88
2 changed files with 25 additions and 3 deletions
@@ -0,0 +1,8 @@
Bugfix: Fix claim selector based routing for basic auth
We've fixed the claim selector based routing for requests using basic auth.
Previously requests using basic auth have always been routed to the DefaultPolicy when using the claim selector despite the set cookie because the basic auth middleware fakes some OIDC claims.
Now the cookie is checked before routing to the DefaultPolicy and therefore set cookie will also be respected for requests using basic auth.
https://github.com/owncloud/ocis/pull/2779