Sha256: 2d7604082a25e0fdc1567278c295a83cbef2514fbc1f27eb6798dd2dc05eb4f6

Contents?: true

Size: 267 Bytes

Versions: 5

Compression:

Stored size: 267 Bytes

Contents

RailsSso::Engine.routes.draw do
  scope module: 'rails_sso' do
    get '/:provider/callback', to: 'sessions#create'
    delete '/sign_out', to: 'sessions#destroy', as: :sign_out

    root to: redirect("/auth/#{RailsSso.config.provider_name}"), as: :sign_in
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_sso-0.7.5 config/routes.rb
rails_sso-0.7.4 config/routes.rb
rails_sso-0.7.3 config/routes.rb
rails_sso-0.7.2 config/routes.rb
rails_sso-0.7.1 config/routes.rb