CERT-Polska / mquery

YARA malware query accelerator (web frontend)
GNU Affero General Public License v3.0
413 stars 77 forks source link

Don't force relogin on expired token, when anonymous user has enough permissions. #425

Open msm-cert opened 3 weeks ago

msm-cert commented 3 weeks ago

Another issue related to the OIDC flows - right now, when:

The user will always be redirected to a login flow. Even if the page is accessible by an anonymous user. So this is not just logging the user out, this is always forcing the relogin.

When token expires, user should just be regularly logged out, and have permissions like any other anonymous user would.