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

fix(jans-auth-server): always save access_token to persistence regardless of cache configuration #10763

Closed
yuriyz opened this issue Jan 30, 2025 · 0 comments · Fixed by #10784
Assignees
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Milestone

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Jan 30, 2025

Describe the bug
We need to always save access_token to persistence regardless of cache configuration.

To Reproduce
Set AS to save tokens only in cache. And then call /end_session. It kills tokens if it's not in cache. But if AT goes to cache then AS has no way to identify such tokens.

Expected behavior
It should clear all tokens bound to this session.

This was discovered during GluuFederation/gluu4#86

@mo-auto mo-auto added comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Jan 30, 2025
yuriyz added a commit that referenced this issue Feb 3, 2025
yuriyz added a commit that referenced this issue Feb 3, 2025
@yuriyz yuriyz assigned yuriyz and unassigned moabu Feb 3, 2025
@moabu moabu added this to the 1.4.0 milestone Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
3 participants