-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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(ui): add state
parameter in the pkce flow
#17235
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #17235 +/- ##
==========================================
+ Coverage 44.99% 49.54% +4.55%
==========================================
Files 355 273 -82
Lines 47931 48288 +357
==========================================
+ Hits 21565 23925 +2360
+ Misses 23563 21999 -1564
+ Partials 2803 2364 -439 ☔ View full report in Codecov by Sentry. |
state
parameter in the pkce flow
Hello @blakepettersson! Thanks for the pointers - I was largely going off of the original PR #15889 in terms of tests / docs / comments. I'll see what I can add |
Hi @js3692 would be very useful to get this PR merge, if you could you take a look again to the request from @blakepettersson |
Argh yes, sry, I'll take another look. I didn't see any existing tests around this functionality last time. Let me see what makes sense here |
Hmm, I might be missing something here, but what exactly are you looking for? 😅 I can add some comments in the code, but I can't find any docs or unit tests for the UI. I'd appreciate some pointers. |
Hi @js3692! Sorry about that - I missed that this was just a UI change (there definitely should be UI tests IMO, but that's another matter and not pertaining to anything you need to do). LGTM 👍 |
Thank you @blakepettersson for the reply and clarification What's the next step for the PR to progress? |
Is there anything blocking this PR? I'd love to see it merged so I can have the PKCE flow working with Okta - because then I can hopefully have Argo's web UI and CLI both working using one Okta app. |
@blakepettersson Would you be able to help here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for late response. I have tested it and it works as expected.
You would need to remove the state from session storage after verification. You can add here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will raise the followup PR. The changes I requested should not block this long pending PR
Signed-off-by: Jungho Son <js3692@users.noreply.github.com>
Thanks all - almost forgot about this PR 😅. Updated with the |
Signed-off-by: Jungho Son <js3692@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! LGTM. Needs an approval from someone with access. @blakepettersson can you please approve or tag relevant user who can approve?
I don't have the prerequisite powers, but @gdsoumya does 😄 |
* Add state to pkce flow Signed-off-by: Jungho Son <js3692@users.noreply.github.com> * Call unset Signed-off-by: Jungho Son <js3692@users.noreply.github.com> --------- Signed-off-by: Jungho Son <js3692@users.noreply.github.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
* Add state to pkce flow Signed-off-by: Jungho Son <js3692@users.noreply.github.com> * Call unset Signed-off-by: Jungho Son <js3692@users.noreply.github.com> --------- Signed-off-by: Jungho Son <js3692@users.noreply.github.com> Signed-off-by: Adrian Aneci <aneci@adobe.com>
Fixes #17217
Checklist: