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(ui): MSAL popup auth issue #18125

Merged
merged 3 commits into from
Oct 5, 2024
Merged

fix(ui): MSAL popup auth issue #18125

merged 3 commits into from
Oct 5, 2024

Conversation

chirag-madlani
Copy link
Collaborator

@chirag-madlani chirag-madlani commented Oct 4, 2024

Describe your changes:

Fixes: GEN-1557

  • I have bump msal/browser & msal-react
  • I have update azure auth from popup to redirect to avoid issues for browser full screen login
  • Tested MSAL auth flow with Login, Logout, Refresh token working good

brave

Screen.Recording.2024-10-05.at.11.39.04.AM.mov

Safari

Screen.Recording.2024-10-05.at.11.43.07.AM.mov

Chrome

Screen.Recording.2024-10-05.at.11.46.15.AM.mov

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Copy link

Copy link
Contributor

github-actions bot commented Oct 4, 2024

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 64%
64.14% (37699/58775) 40.91% (15023/36726) 42.94% (4543/10579)

Copy link

sonarqubecloud bot commented Oct 5, 2024

@chirag-madlani chirag-madlani marked this pull request as ready for review October 5, 2024 06:18
}, [instance]);

// Show loader until the interaction is completed
if (inProgress !== InteractionStatus.None) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chirag-madlani , why we are checking for none here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If azure is not processing anything related to auth then we can render the app, else loader will be shown

@Sachin-chaurasiya Sachin-chaurasiya merged commit e44c8d4 into main Oct 5, 2024
17 checks passed
@Sachin-chaurasiya Sachin-chaurasiya deleted the fix-GEN-1557 branch October 5, 2024 06:27
chirag-madlani added a commit that referenced this pull request Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants