Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Versent/generic_saml_idp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generic_saml_idp

NOTE: This project is archived and will not be updated.

This is a rails project which uses devise and saml_idp to build a Security Assertion Markup Language (SAML) Identity provider (IdP). The initial aim is to use this service to authenticate, and provide authorisation information to the Amazon Webservices Console.

  • Deployment instructions

devise todo

Some setup you must do manually if you haven't yet:

  1. Ensure you have defined default url options in your environments files. Here is an example of default_url_options appropriate for a development environment in config/environments/development.rb:
     config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
    

In production, :host should be set to the actual host of your application.

  1. Ensure you have defined root_url to something in your config/routes.rb. For example:
     root to: "home#index"
    
  2. Ensure you have flash messages in app/views/layouts/application.html.erb. For example:
     <p class="notice"><%= notice %></p>
     <p class="alert"><%= alert %></p>
    
  3. If you are deploying on Heroku with Rails 3.2 only, you may want to set:
     config.assets.initialize_on_precompile = false
    

In config/application.rb forcing your application to not access the DB or load models when precompiling your assets.

  1. You can copy Devise views (for customization) to your app by running:
     rails g devise:views
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages