-
Notifications
You must be signed in to change notification settings - Fork 180
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
'Signature is invalid' error when logging out #167
Comments
@thanos982
And you are expecting that gem load your XML file and configure SP config for your SP service? If it's possible, Can you share with us your SP config hash in here. I think if you do mask for your secret information might allow you or your team to share your SP config as a comment. |
Thank you Zogoo. I;m still not sure how and when the metadata_persister method is used but I figured out that the URL of the metadata file in my SP config was wrong, that's why I couldn't get it to work. |
@thanos982 |
I'm trying to get logging out to work and I get a
Signature invalid
error.There is a signature in the XML of the service provider metadata, but the XML file doesn't seem to be loaded at all.
This is relevant to Issue #71 where the metadata persister is never called, hence the settings are never cached.
I tried to fix this manually but I run into several issues, mainly to do with the metadata_persister example method that's provided in the config file:
File.open Rails.root.join("cache/saml/metadata/#{fname}"), "wb"
throws an error about the file being non existentsettings.to_h
(where settings is an IncomingMetadata object) throws an error too.Is there any workaround to this? How did anyone else get logging out to work?
The text was updated successfully, but these errors were encountered: