-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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(openid-connect): openid not closing session and blocking until ttl… #10788
Merged
monkeyDluffy6017
merged 2 commits into
apache:master
from
markusmueller:fix-openid-session-close
Jan 17, 2024
Merged
fix(openid-connect): openid not closing session and blocking until ttl… #10788
monkeyDluffy6017
merged 2 commits into
apache:master
from
markusmueller:fix-openid-session-close
Jan 17, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
markusmueller
changed the title
[WIP] fix(openid-connect): openid not closing session and blocking until ttl…
fix(openid-connect): openid not closing session and blocking until ttl…
Jan 9, 2024
We need a test case to cover this |
@markusmueller , can you please add a test case for the PR?? |
markusmueller
force-pushed
the
fix-openid-session-close
branch
from
January 11, 2024 13:30
c228f26
to
8996221
Compare
@sheharyaar I have added a test verifying the session lock is not blocking subsequent requests anymore as the session is closed properly (test will fail without the change in the plugin). |
…l expired when using lockable session storage backend (apache#8017)
markusmueller
force-pushed
the
fix-openid-session-close
branch
from
January 11, 2024 21:41
8996221
to
19a20bf
Compare
monkeyDluffy6017
previously approved these changes
Jan 12, 2024
monkeyDluffy6017
added
wait for update
wait for the author's response in this issue/PR
and removed
need test cases
user responded
labels
Jan 12, 2024
Co-authored-by: Liu Wei <375636559@qq.com>
@monkeyDluffy6017 applied your suggestions, thank you |
monkeyDluffy6017
approved these changes
Jan 15, 2024
monkeyDluffy6017
added
approved
and removed
wait for update
wait for the author's response in this issue/PR
user responded
labels
Jan 15, 2024
AlinsRan
approved these changes
Jan 16, 2024
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…l expired when using lockable session storage backend (#8017)
Description
Fixes #8017
I'm not a Lua developer but I'd really like to see this fixed. It might be appropriate to wrap with a pcall and have the session closed in any case (try-catch-finally). Also, I couldn't quickly figure out if the testing would cover configuring and spinning up a locking session storage (memcache for example) to test this. If so, happy to add a test case.
Thank you for your feedback.
Checklist