Skip to content

Metadata reload functionality missing in pysaml 7.0.1 #385

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

Closed
vladimir-mencl-eresearch opened this issue Sep 7, 2021 · 3 comments
Closed

Comments

@vladimir-mencl-eresearch
Copy link
Contributor

Hi @c00kiemon5ter , great to see version 8.0.0 out!

I see the release notes mention the new /reload-metadata endpoints - and give pysaml2 > 7.0.1 as the requirement.

Unfortunately, this functionality was merged into pysaml2 only after 7.0.1 was released (in IdentityPython/pysaml2#809) - and there has been no pysaml2 release since.

This could be solved with a pysaml2 release - and an update to the release notes for SATOSA 8.0.0...

Cheers,
Vlad

Code Version

SATOSA 8.0.0
pysaml2 7.0.1

Expected Behavior

Requests to /reload-metadata URLs working with when enable_metadata_reload: yes is in the config.

Current Behavior

Requests to /reload-metadata URLs failing on invocation of reload_metadata.

Possible Solution

Releasing pysaml2 with the functionality added in IdentityPython/pysaml2#809

Steps to Reproduce

  1. Deploy SATOSA with SAML2 backend
  2. Add enable_metadata_reload: yes into configuration
  3. Issue a request to /Saml2/reload-metadata
  4. Request fails and a stack trace is produced.
@c00kiemon5ter
Copy link
Member

I see the release notes mention the new /reload-metadata endpoints - and give pysaml2 > 7.0.1 as the requirement.

Unfortunately, this functionality was merged into pysaml2 only after 7.0.1 was released (in IdentityPython/pysaml2#809) - and there has been no pysaml2 release since.

that is correct; in the changelog we have (as you also write) pysaml2 > 7.0.1 - not pysaml2 >= 7.0.1. So, we point to a newer than 7.0.1 pysaml2 version.

This could be solved with a pysaml2 release

exactly! the changelog note is provisional at the moment. The intention was to have a pysaml2 release very close to the release of satosa v8.0.0. I didn't get the time to actually do this though, but I am working on it.

@vladimir-mencl-eresearch
Copy link
Contributor Author

that is correct; in the changelog we have (as you also write) pysaml2 > 7.0.1 - not pysaml2 >= 7.0.1. So, we point to a newer than 7.0.1 pysaml2 version.

Sorry, completely missed that - yes, that is correct, I misread the release notes.

exactly! the changelog note is provisional at the moment. The intention was to have a pysaml2 release very close to the release of satosa v8.0.0. I didn't get the time to actually do this though, but I am working on it.

Great - I look forward to seeing it out.

@c00kiemon5ter
Copy link
Member

Pysaml2 v7.1.0 is now available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants