SelfAuthRails::Engine.routes.draw do get 'new', to: 'sessions#new' post 'create', to: 'sessions#create' get 'qr', to: 'sessions#qr' get 'dl', to: 'sessions#dl' get 'logout', to: 'sessions#logout' # Serve websocket cable requests in-process mount ActionCable.server => '/auth' end