-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
UI/okta duo push notification #11442
Conversation
Hi @Monkeychip. I'd like to chat about this since the design has moved a bit from the original idea of displaying a message after a certain amount of time. |
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.
A couple questions here, likely not blocking but I'd like to hear your thoughts before I approve!
@@ -105,4 +105,17 @@ module('Acceptance | auth', function(hooks) { | |||
await visit('/vault/access'); | |||
assert.dom('[data-test-allow-expiration="true"]').doesNotExist('hides beacon when the api is used again'); | |||
}); | |||
|
|||
test('it shows the push notification warning only for okta auth method after submit', async function(assert) { |
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.
👏
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.
Great work! Thanks 🚀
This PR adds a push notification for Okta authentication. There have been issues with people waiting for the loader, not knowing that it was actually the loader waiting on them to hit their okta push notifications.
Functionality: If you select the auth method "okta" a function called
delayAuthMessageReminder
is fired concurrently while theauthenticate
concurrency task is also running. If after five seconds theauthenticate
concurrency task is still running a message appears to remind folks to check their push notifications. If the auth method takes less than five seconds (ex: you have okta setup with no MFA and its successful) you won't see the message reminder.Here is a gif of a situation in which we wait 90 seconds for someone to hit their push notifications.
Here is a gif of a situation where it takes less than 5 seconds to login to okta and you do not see the message.
Here is a screenshot of the message:
Note:
While I was in there, I removed the overlay loader per Design's request— we show this with a grey out readOnly button that has a spinning loading inside of it. I also cleaned up the look of the
AlertInline
component that display messages for the JWT method and for under "More options". The messages now match the font-size and padding that Design had specked the Okta notification message for.