Add controllers and frontend for DPoP
What does this MR do and why?
This MR adds the controller and frontend code for Add DPoP checks in GraphQL and API requests (!169013 - merged).
Related to Sender constraining personal access tokens (#425130 - closed).
References
See the epic (Allow users to require demonstrated proof of po... (&14383)) for context, pre-work, and other related issues.
Screenshots or screen recordings
When dpop_authentication
FF is disabled:
When :dpop_authentication
FF is enabled:
How to set up and validate locally
- Checkout this branch locally.
- Run
bin/rails db:migrate
- In rails console, enable the feature flag:
Feature.enable(:dpop_authentication, User.first)
- Login as root.
- Go to Settings > Access tokens > Toggle the DPoP option.
- Confirm it persists in the database
User.first.dpop_enabled
and also on the frontend after refreshing the page.
Edited by Ameya Darshan
Merge request reports
Activity
Please register or sign in to reply