Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The default keycloak/openid logintimeout is very short #411

Open
msm-cert opened this issue Sep 30, 2024 · 1 comment · May be fixed by #445
Open

The default keycloak/openid logintimeout is very short #411

msm-cert opened this issue Sep 30, 2024 · 1 comment · May be fixed by #445
Assignees
Labels
next-sprint Scheduled for work (CERT.PL internal) type:bug Something isn't working zone:backend Backend oriented tasks zone:frontend Frontend oriented tasks
Milestone

Comments

@msm-cert
Copy link
Member

Investigate why in the default mquery configuration the login timeout is very short and needs constant reauthentication.

Fix that, such that either reauthentication is not needed (at most once a few weeks) or happens automatically.

Additionaly, when user gets logged out, if the instance allows anonymous access, the user should see things as anonymous user (instead of having to login - no way around it).

@msm-cert msm-cert added this to the v1.5.0 milestone Sep 30, 2024
@msm-cert
Copy link
Member Author

msm-cert commented Oct 16, 2024

How to reproduce:

  1. Configure a instance with users enabled, as documented in https://cert-polska.github.io/mquery/docs/users.html
  2. Login to your user.
  3. Wait for some time (a few minutes).
  4. Try to do some action
  5. The browser starts reloading and in general does the whole reauthentication flow. This shouldn't happen

The keycloak defaults are as follows:

image

But just bumping them to infinity is not a solution, I suspect mquery does something wrong. Probably we shouldn't use the keycloak token directly?

@msm-cert msm-cert added type:bug Something isn't working next-sprint Scheduled for work (CERT.PL internal) zone:frontend Frontend oriented tasks zone:backend Backend oriented tasks labels Oct 16, 2024
@msm-cert msm-cert modified the milestones: v1.5.0, Sprint 1 Oct 17, 2024
@msm-cert msm-cert modified the milestones: v1.5.0, v1.6.0 Nov 18, 2024
@msm-cert msm-cert modified the milestones: v1.6.0, v1.7.0 Dec 16, 2024
@MichalJura MichalJura linked a pull request Jan 13, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-sprint Scheduled for work (CERT.PL internal) type:bug Something isn't working zone:backend Backend oriented tasks zone:frontend Frontend oriented tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants