Skip to content

FR-24181 - Implement "Device authorization" flow in react-hosted-login sample#29

Open
PavelShulha wants to merge 18 commits intomainfrom
device-authorization
Open

FR-24181 - Implement "Device authorization" flow in react-hosted-login sample#29
PavelShulha wants to merge 18 commits intomainfrom
device-authorization

Conversation

@PavelShulha
Copy link
Copy Markdown
Collaborator

What has been done:

  1. Added classes in "App.css" for "DeviceModal"
  2. Created new "VerifyDevicePage.css" file that include classes for "DeviceVerifyPage"
  3. Created new "DeviceVerifyPage.tsx" file that include "Approve/Deny" buttons and pages with Approved/Denied results
  4. Created new "DeviceModal.tsx" file that include validation for device-code field, Cancel, Continue and close buttons
  5. Create new "validateDeviceCode" file in "utils" folder
  6. Added to the App.tsx file and added routes for Main, DeviceVerifyPage
  7. Added useNavigate
  8. Added new icons to "public/icons" folder for "DeviceModal" and "DeviceVerifyPage"

Flows:

  1. Approve device code flow
ApproveFlow.mov
  1. Deny device code flow
DenyFlow.mov
  1. Validation in "DeviceModal"
Validation.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant