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

UI Support for Okta Number Challenge #15998

Merged
merged 19 commits into from Aug 10, 2022

Conversation

linda9379
Copy link
Contributor

This is a branch for support of the Okta Number Challenge in the UI. The commit is for a clean branch to be pushed first so then later on, new changes can be pushed into this branch to split up the project into smaller tasks.

@linda9379 linda9379 added the ui label Jun 15, 2022
linda9379 and others added 14 commits June 16, 2022 11:34
* Added nonce field to payload for okta sign in.

* Added missing yarn package for uuid

* Fixed failing ui tests in cluster-test file to take into account of nonce field in the payload of okta login

* Removed uuid library and used crypto.randomUUID() to generate unique uuid values instead

* Fixed indent in package.json
…16070)

* Implemented polling function to get correct answer for okta number challenge.

* Disabled polling function for testing as it was causing acceptance test to fail in auth-test.js

* Changed API call to be the auth mount path instead of being static and created a variable to store the oktaNumberChallengeAnswer to be used later for the display screens
* Implemented loading screen and display screen for correct answer for Okta Number Challenge

* Fixed linting issues on hbs files

* Added periods to parameter descriptions and made parameters optional

* Removed optional parameters from calling AuthForm component if authMethod is not Okta
* Implemented loading screen and display screen for correct answer for Okta Number Challenge

* Fixed linting issues on hbs files

* Temporary changes to include error screen in okta number challenge

* Created error screen tests and made minor fixes

* Fixed error for wrong parameter name being passed in

* Fixed linting issues causing ui tests to fail

* Added periods at the end of param descriptions
…sts to fail as the import was not being used.
* Added nonce field to payload for okta sign in.

* Added missing yarn package for uuid

* Fixed failing ui tests in cluster-test file to take into account of nonce field in the payload of okta login

* Removed uuid library and used crypto.randomUUID() to generate unique uuid values instead

* Fixed indent in package.json
…16070)

* Implemented polling function to get correct answer for okta number challenge.

* Disabled polling function for testing as it was causing acceptance test to fail in auth-test.js

* Changed API call to be the auth mount path instead of being static and created a variable to store the oktaNumberChallengeAnswer to be used later for the display screens
* Implemented loading screen and display screen for correct answer for Okta Number Challenge

* Fixed linting issues on hbs files

* Added periods to parameter descriptions and made parameters optional

* Removed optional parameters from calling AuthForm component if authMethod is not Okta
* Implemented loading screen and display screen for correct answer for Okta Number Challenge

* Fixed linting issues on hbs files

* Temporary changes to include error screen in okta number challenge

* Created error screen tests and made minor fixes

* Fixed error for wrong parameter name being passed in

* Fixed linting issues causing ui tests to fail

* Added periods at the end of param descriptions
@linda9379 linda9379 requested review from a team, marianoasselborn and claire-labry and removed request for a team August 3, 2022 17:48
linda9379 and others added 2 commits August 3, 2022 14:15
…16568)

* Fixed bug with okta not working when selecting okta tab after being on other tab

* Fixed vault enterprise errors

* Fixed error when logging in with Okta in 'Other' tab

* Removed namespace parameter in option to use the default
@linda9379 linda9379 removed request for a team, taoism4504 and fairclothjm August 4, 2022 14:36
@linda9379 linda9379 changed the title Imported uuid library for initial commit to push a clean branch. UI Support for Okta Number Challenge Aug 10, 2022
@linda9379 linda9379 added this to the 1.12.0-rc1 milestone Aug 10, 2022
Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@linda9379 linda9379 merged commit 19c3e12 into main Aug 10, 2022
@linda9379 linda9379 deleted the ui/VAULT-5417/ui_support_for_okta_number_challenge branch August 10, 2022 19:46
@@ -0,0 +1,3 @@
```release-note:feature
Copy link
Contributor

Choose a reason for hiding this comment

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

👋🏻 (@cinthiaconti maybe?) This changelog entry isn't correctly formatted for new features.

**UI Okta Number Challenge**: <text>

You can check out the 1.11 changelog for a reference, and there's also a wiki page about this. Could someone please update this file on main so that it formats correctly in the final version of the 1.12 changelog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants