-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(ui): persist oidc auth details #10389
feat(ui): persist oidc auth details #10389
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10389 +/- ##
=============================================
- Coverage 64.25% 13.87% -50.39%
+ Complexity 6059 259 -5800
=============================================
Files 1997 1997
Lines 108768 108768
Branches 16620 16620
=============================================
- Hits 69888 15090 -54798
- Misses 33816 92452 +58636
+ Partials 5064 1226 -3838
Flags with carried forward coverage won't be shown. Click here to find out more. see 1355 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
const { authenticated, authWorkflow } = useAuthProvider(); | ||
const history = useHistory(); | ||
|
||
React.useEffect(() => { |
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.
Minor and not a blocker: can you pleease fix the import so that you can use just useEffect
?
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.
fixed.
Looks good. |
This PR is
ui
feature
Issue
Solution
Note
The solution is only implemented for OIDC authentication. Other auth methods will work as before.
Reviewers - @apucher @joshigaurava @mayankshriv