gwu-libraries / gw-sufia

GWU Libraries Self-Deposit Prototype - based on Sufia 4
2 stars 1 forks source link

Integrate Shibboleth Authentication #84

Closed kilahimm closed 10 years ago

kilahimm commented 10 years ago

Setup Devise for Shibboleth authentication. Some work has been done on this for Curate.

kerchner commented 10 years ago

@kilahimm what changes did this entail - did it require any changes to configurations in gw-sufia (whether or not they are the sort that would need to be checked in to the repo)? More specifically, how did you get the Sign In button to redirect to the GW authentication page?

kilahimm commented 10 years ago

@kerchner the shibboleth branch has the changes that I made to enable this. Specifically I added the omniauth-shibboleth gem to the gemfile and modified the following config files:

config/routes.rb config/initializers/devise.rb

And the following app file: app/models/user.rb

Let me know if you want to walk through it together.