-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shibboleth configuration for Rails #3
Comments
Hi, How do you host your application? Using Passenger? Or some other methods? As described in README.md, omniauth-shibboleth assumes using Passenger (mod_passenger) to host Rails application because it uses environment variables to obtain Shibboleth attributes, not using request header. So thus, I recommend you to use Passenger with omniauth-shibboleth. If you use passenger, all you have to do is to configure your Apache and Rails as written in README.md. |
Hi, Yes i am using passenger and apache server. In httpd.conf file i have done following configuration <VirtualHost *:80> It works fine and it goes to idp /secure site and it accepts credential and come back with response. I dont know why but my response URL is like Shibboleth.sso/SAML/POST. What configuration i am missing so the URL should be /secure/callback. And in rails application what i need to do for reading the response? |
O.K. Can I ask you why do you protect '/secure' path? If you use the If you correctly set up omniauth-shibboleth, when you access to the If so, in omniauth examples, you must add the routes to the 'callback
At least, you need /auth/:provider/callback because that is the target In omniauth-shibboleth, when you access to '/auth/shibboleth', it is So thus, if your omniauth-shibboleth is correctly configured, all you |
Thanks mate. |
I am sorry that omniauth_shibboleth is older version works with omniauth-0.x. Please use omniauth-shibboleth (not under bar but hyphen) which works with omniauth-1.0. If you use the newer one, you need not to install oa-enterprise. Just 'omniauth' and 'omniauth-shibboleth'. If possible, please submit the newer comment into newer project. https://github.com/toyokazu/omniauth-shibboleth And please refer newer documents. I am not sure about your second question about /auth/shibboleth. I do not know why you have '/secure' path. I thought that you just write mod_shib config in httpd.conf. So thus, if you do not want that, I think you just delete the configuration from httpd.conf. |
Please refer the related issue. |
Hi,
I have application name DigitalData. I have configured SP and IDP on my local server. When I call sp.digital.org/secure it goes to idp login page and return response. but the response goes to /var/www/html/secure folder. My requirement is like when i click on DigitalData application login link it should go to IDP login page and should return to my application controller. What configuration i need to do in rails application and apache server?
Kindly help soon.
Thanks.....
The text was updated successfully, but these errors were encountered: