gitlab auth - needs test fix

This commit is contained in:
2016-09-12 22:15:44 -05:00
parent 708938ff45
commit 5dc60e0b41
10 changed files with 88 additions and 2 deletions

View File

@ -5,6 +5,10 @@ defaults: &defaults
mysql_usr: "user"
mysql_pwd: "password"
full_app_url: "localhost:3000"
gitlab_oauth: provider-url
gitlab_client: client-id
gitlab_secret: client-secret
gitlab_callback: local-callback
development:
<<: *defaults

View File

@ -1,6 +1,12 @@
Rails.application.routes.draw do
resources :accounts
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
resources :accounts
get "logout", to: "auth#logout", as: :logout
get "login", to: "auth#login", as: :login
get "auth", to: "auth#auth", as: :auth
get "auth/callback", to: 'auth#callback'
root to: "accounts#index"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end