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 sso login success message #8174

Merged
merged 3 commits into from
Aug 27, 2024
Merged

fix sso login success message #8174

merged 3 commits into from
Aug 27, 2024

Conversation

enahum
Copy link
Contributor

@enahum enahum commented Aug 26, 2024

Summary

Adds a transitional screen when the SSO is successful

Ticket Link

https://hub.mattermost.com/private-core/pl/55xw79opufn6jrzawkuzrrxjtc

Checklist

  • Added or updated unit tests (required for all new features)
  • Has UI changes
  • Includes text changes and localization file updates
  • Have tested against the 5 core themes to ensure consistency between them.
  • Have run E2E tests by adding label E2E iOS tests for PR.

Screenshots

image

Release Note

Added a new message to SSO login screen when the login is successful.

@enahum enahum added 2: Dev Review Requires review by a core commiter 2: UX Review Requires review by a UX Designer labels Aug 26, 2024
@@ -151,6 +151,7 @@ export type CallsConnection = {

export type CallsConfigState = CallsConfig & {
AllowEnableCalls: boolean;
GroupCallsAllowed: boolean;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cpoile for some reason TS was complaining

Copy link
Member

@jwilander jwilander left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@@ -151,6 +151,7 @@ export type CallsConnection = {

export type CallsConfigState = CallsConfig & {
AllowEnableCalls: boolean;
GroupCallsAllowed: boolean;
Copy link
Member

Choose a reason for hiding this comment

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

This is unrelated, right?

Copy link
Member

Choose a reason for hiding this comment

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

Nevermind, I see your other comment

Copy link
Contributor

@matthewbirtch matthewbirtch left a comment

Choose a reason for hiding this comment

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

Thanks @enahum!

@matthewbirtch matthewbirtch removed the 2: UX Review Requires review by a UX Designer label Aug 26, 2024
doSSOLogin(bearerToken, csrfToken);
}
} else if (Platform.OS === 'ios' || result.type === 'dismiss') {
} else if (Platform.OS === 'ios' && result.type === 'dismiss') {
Copy link
Contributor

Choose a reason for hiding this comment

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

@enahum if on Android, and user "dismiss" or (x) out of Okta sso, would this if logic change miss that user?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rahimrahman yes thank you, this was unintended.

@enahum
Copy link
Contributor Author

enahum commented Aug 26, 2024

/update-branch

@enahum enahum requested a review from rahimrahman August 27, 2024 00:05
@enahum enahum added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Aug 27, 2024
@enahum enahum merged commit 8b869c2 into main Aug 27, 2024
12 checks passed
@enahum enahum deleted the sso-fix branch August 27, 2024 00:06
@lindalumitchell
Copy link
Contributor

For future traceability: https://mattermost.atlassian.net/browse/MM-60293

@amyblais
Copy link
Member

/cherry-pick release-2.20

@mattermost-build
Copy link
Contributor

Cherry pick is scheduled.

mattermost-build pushed a commit that referenced this pull request Aug 27, 2024
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 8b869c2)
@mattermost-build mattermost-build added the CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone label Aug 27, 2024
amyblais pushed a commit that referenced this pull request Aug 27, 2024
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 8b869c2)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
@amyblais amyblais added this to the v2.20.0 milestone Aug 27, 2024
@amyblais
Copy link
Member

/cherry-pick release-2.19

@mattermost-build
Copy link
Contributor

Cherry pick is scheduled.

mattermost-build pushed a commit that referenced this pull request Aug 27, 2024
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 8b869c2)
mattermost-build added a commit that referenced this pull request Aug 27, 2024
amyblais pushed a commit that referenced this pull request Aug 27, 2024
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 8b869c2)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
larkox pushed a commit that referenced this pull request Oct 11, 2024
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants