-
Notifications
You must be signed in to change notification settings - Fork 173
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
[BUG] opensearch login not working with more than 15 roles assign to user #1567
Comments
I can't figure out what the fix for this actually was .. moving this into the security repo, hopefully someone can track it down? |
1 similar comment
I can't figure out what the fix for this actually was .. moving this into the security repo, hopefully someone can track it down? |
@dblock never mind, I had permissions to do the transfer myself. |
@davidlago There is one known regression in cookie splitting that's currently being fixed: #1522 This should also be backported to 1.3 when its fixed. |
[Triage] Hi @Rajat0312, thank you for filing this issue. The best guess is that this issue is a result of the cookie size limit. In general, it is advisable to condense roles when possible. By backporting the cookie splitting change after backporting #1522, this should be resolved. |
@jochen-kressin please keep this one on your radar, as soon as #1552 is fixed and backported to 1.x, please make sure this one makes it to 1.x too. Thanks! |
@davidlago Just to make sure that I understand this correctly: in addition to #1552, we also need to backport the original cookie splitting PR? |
Yes, exactly. But as that PR has the regression we're fixing in #1552, let's make sure it does not get backported before that fix is in. |
Can you assign this to me please @davidlago . Testing from my end currently in progress on this PR #1662 |
Hi @peternied, @scrawfor99, @cwperks can I ask about the PR in relation to this please? #1662 I've tested the code and would like a pair of eyes on the changes so far and to asses what is outstanding with me please. I have changed the ticket to ready for review but on the particular branch, I cannot select anyone as reviewers, it's a backport to be merged back into 1.x. So I would like some advice on
Thanks very much, it would be great to get your experienced comments on the questions above please. |
This ticket is in the final stages.
|
Closing this issue. The cookie splitting logic will be released in the next patch release for 1.3: 1.3.15. You can find the release schedule here. |
Hey,
Currently i am using OpenSearch 1.3.X version and in this version i am facing Too large Cookie issue opensearch-project/security#374 this issue is solved in 2.7 version but i need some workaround for 1.3.X version to solve this issue. When i am using user with around 10-12 roles it works but when i increate roles up to 15 then not able to login to OpenSearch-dashboard.
and can anyone tell me about how this works like where JWT token is created either in OpenSearch or in OpenSearch-dashboard and from where cookies sets.
The text was updated successfully, but these errors were encountered: