Feature: SignIn with Twitter (#479)

* Add Twitter SignIn flow

Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
Pranav Raj S
2020-02-11 14:27:38 +05:30
committed by GitHub
parent 272c481464
commit 30f4c08143
14 changed files with 249 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ Rails.application.routes.draw do
get '/app', to: 'dashboard#index'
get '/app/*params', to: 'dashboard#index'
get '/app/settings/inboxes/new/twitter', to: 'dashboard#index', as: 'app_new_twitter_inbox'
get '/app/settings/inboxes/new/:inbox_id/agents', to: 'dashboard#index', as: 'app_twitter_inbox_agents'
match '/status', to: 'home#status', via: [:get]
@@ -104,6 +106,11 @@ Rails.application.routes.draw do
end
end
namespace :twitter do
resource :authorization, only: [:create]
resource :callback, only: [:show]
end
# Used in mailer templates
resource :app, only: [:index] do
resources :conversations, only: [:show]