FEATURE: Allow admins to delete user SSO records in the UI (#10669)

Also displays the user's last payload in the admin UI to help with debugging SSO issues.
This commit is contained in:
Penar Musaraj
2020-09-15 10:00:10 -04:00
committed by GitHub
parent 6d7b8a71c0
commit 273db57d6e
10 changed files with 80 additions and 1 deletions

View File

@ -144,6 +144,7 @@ Discourse::Application.routes.draw do
post "merge"
post "reset_bounce_score"
put "disable_second_factor"
delete "sso_record"
end
get "users/:id.json" => 'users#show', defaults: { format: 'json' }
get 'users/:id/:username' => 'users#show', constraints: { username: RouteFormat.username }