Skip to content

LG-11454 (1): Add controllers for WebAuthn management#9742

Merged
aduth merged 3 commits intomainfrom
aduth-webauthn-manage-controller
Dec 13, 2023
Merged

LG-11454 (1): Add controllers for WebAuthn management#9742
aduth merged 3 commits intomainfrom
aduth-webauthn-manage-controller

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Dec 11, 2023

🎫 Ticket

Partially implements LG-11454

🛠 Summary of changes

Adds new Rails controllers for managing WebAuthn authenticators, to be used as part of LG-11454 to manage (rename or delete) an authenticator.

Currently, these routes are accessible but not exposed anywhere within the application. This is split from #9674, in order to reduce the size of that pull request, and to ensure that the routes are available during the 50/50 deployment state for the deploy which would include the frontend interface revisions.

📜 Testing Plan

Ensure build passes.

Optionally, it is expected that the routes for managing an authenticator would be available, including user-facing views and REST API routes. If you know the ID associated with your WebAuthn configuration†, you can visit http://localhost:3000/manage/webauthn/123 (replace the last path portion with ID) to manage the device, which should work as expected.

† You can find this in a rails console as such, replacing the email address with your own:

User.find_with_email('email@example.com').webauthn_configurations.map(&:id)

changelog: Upcoming Features, Face or Touch Unlock, Add new renaming interface for face or touch unlock
@aduth aduth requested a review from a team December 11, 2023 21:23
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.

2 participants