Add controllers and frontend for DPoP
-
Review changes -
-
Download -
Patches
-
Plain diff
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).
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
Compare and
Show latest version
- version 3404275eda
- version 3337e8e77f
- version 32f21a7fdc
- version 3174992bf4
- version 3024a74604
- version 29a939850e
- version 281de0af79
- version 277584bad6
- version 26ec9fd8b3
- version 25072fd46d
- version 24cc83eea9
- version 23a34df99d
- version 222de9643b
- version 21a9de10ed
- version 20cd9bb35a
- version 19df6da682
- version 1802e08c6d
- version 17420354a3
- version 16567acef9
- version 155b880930
- version 1490ffc8ed
- version 1368182e76
- version 122d9fd93d
- version 118860fca8
- version 10579b1ebd
- version 9450bbae4
- version 8633d2117
- version 703c4b20f
- version 6a0aff8ac
- version 583be4a9c
- version 45386f4c1
- version 3e52e5cab
- version 274465b13
- version 1a8f2dec5
- master (base)
- latest version5ce857771 commit,
- version 3404275eda31 commits,
- version 3337e8e77f30 commits,
- version 32f21a7fdc29 commits,
- version 3174992bf429 commits,
- version 3024a7460429 commits,
- version 29a939850e28 commits,
- version 281de0af7927 commits,
- version 277584bad626 commits,
- version 26ec9fd8b328 commits,
- version 25072fd46d26 commits,
- version 24cc83eea924 commits,
- version 23a34df99d23 commits,
- version 222de9643b22 commits,
- version 21a9de10ed21 commits,
- version 20cd9bb35a20 commits,
- version 19df6da68219 commits,
- version 1802e08c6d18 commits,
- version 17420354a317 commits,
- version 16567acef916 commits,
- version 155b88093015 commits,
- version 1490ffc8ed14 commits,
- version 1368182e7613 commits,
- version 122d9fd93d12 commits,
- version 118860fca811 commits,
- version 10579b1ebd10 commits,
- version 9450bbae49 commits,
- version 8633d21178 commits,
- version 703c4b20f7 commits,
- version 6a0aff8ac6 commits,
- version 583be4a9c5 commits,
- version 45386f4c14 commits,
- version 3e52e5cab3 commits,
- version 274465b132 commits,
- version 1a8f2dec51 commit,
Compare changes
- Side-by-side
- Inline
There are no changes yet
No changes between version 2 and version 2
Loading