devise_saml_authenticatable
devise_saml_authenticatable copied to clipboard
SamlSessionsController
trafficstars
Following this wiki guide's instruction to patch the gem's Devise::SamlSessionsController I realised I don't have this controller anywhere. Even when I try to generate the devise controllers, no saml_sessions_controller.rb file is generated.
This is in my gemfile:
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem "devise_saml_authenticatable", github: "apokalipto/devise_saml_authenticatable"
Routes:
devise_for :users
User model:
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable, :saml_authenticatable
In config/devise.rb, I followed this guide for using Google Apps as the IdP.
Any help with this would be really appreciated! Thank you.
That controller is actually part of the gem, so this is actually a monkey-patch! You should be able to add the code snippet from that wiki page to an initializer.