-
Notifications
You must be signed in to change notification settings - Fork 22
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
Newbie question: writing a rails app to use my university's SIB services #8
Comments
Sorry to be late reply.
Yes, you are right.
As default, it can be downloaded from rack-saml enabled SP URL (http://target_host/Shibboleth.sso/Metadata).
You can also use ruby-saml directly for your application. rack-saml just uses ruby-saml to handle SAML request/response. While there may be the other options, I am currently not sure. Current rack-saml is not compatible with latest ruby-saml as indicated by the following pull request. I would like to fix it. Please wait for a moment. |
It's an old post but I'd like to add something for those who'll bump into this: rack-saml will probably not work for you to provide sign-in via university Sibboleth IDP because of this:
Due to privacy and security concerns most university IDPs require SP to support encrypted responses. This is definitely the case with http://testshib.org and http://www.ukfederation.org.uk . |
Sorry to be late reply. If many of you want use it with nervous attributes, encryption function must be implemented. Currently, I can not have enough time for it, but if I receive many requests, I would like to ask colleagues to do it :) |
I see signed assertions in this branch from makerbot, https://github.com/makerbot/rack-saml/tree/feature/signed-assertions is there any progress on assertion encryption? since it appears OneLogin::RubySaml does supprt this ability now? |
Hi, Yes. Current version can encrypt assertion using OneLogin::Ruby::SAML function by @kerlin 's contribution. I think you can use it by specifying sp_cert and sp_key by configuration. If you cannot use it, please provide your feedback. |
Thanks @toyokazu I had missed that update. I might suggest updating the docs to remove that limitation then. That's excellent news and much appreciated. |
Thank you for your comment. Unfortunately, I cannot have time to test the function by myself. If you already confirmed the assertion encryption function, please let me know. I'd like to update the document. |
Hi @jasonheffner, did you manage to have this working ? |
@webattitude I believe we had at the time, but then switched to handling authentication at the transport layer using apache as a proxy. It's just been too long to remember all the details. |
I'm having a hard time understanding how to connect the bits and pieces to make this work, although according to my IT people it should be 'simple'. So I have some questions:
As I am deploying to Heroku I can't really run a separate shib sp, so my understanding is that therefore I should use the rack-saml gem here. Is this correct?
According to my it guy all I need to do is to provide him with the 'saml metadata' which is an xml file. I am not clear where to get that.
Best would be if you could point me at a simple/complete example doing something similar, which is a rails app that uses shib for authentication. (I don't even require using oauth2 if that is an unnecessary complication...)
Any help would be greatly appreciated!!
The text was updated successfully, but these errors were encountered: