mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Expand TARA auth flow to registrant portal
This commit is contained in:
parent
248c984443
commit
04f0ef9a93
7 changed files with 85 additions and 27 deletions
|
@ -176,6 +176,9 @@ Rails.application.routes.draw do
|
|||
# Client certificate is asked only on login form submission, therefore the path must be different from the one in
|
||||
# `new_registrant_user_session_path` route, in case some other auth type will be implemented
|
||||
post 'id' => 'sessions#create', as: :id_card_sign_in
|
||||
match '/open_id/callback', via: %i[get post], to: 'tara#callback', as: :tara_registrant_callback
|
||||
match '/open_id/cancel', via: %i[get post delete], to: 'tara#cancel',
|
||||
as: :tara_registrant_cancel
|
||||
end
|
||||
|
||||
resources :registrars, only: :show
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue