Skip to content
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

Unused service.sp.idp configuration option #739

Closed
clokep opened this issue Oct 27, 2020 · 5 comments
Closed

Unused service.sp.idp configuration option #739

clokep opened this issue Oct 27, 2020 · 5 comments

Comments

@clokep
Copy link

clokep commented Oct 27, 2020

The configuration discusses an idp setting under the sp section with the description:

Defines the set of IdPs that this SP is allowed to use; if unset, all listed IdPs may be used. If set, then the value is expected to be a list with entity identifiers for the allowed IdPs.

As far as I've been able to see this option is unused inside of pysaml2.

Code Version

db417d8

Expected Behavior

This option is removed from the configuration documentation or is used.

Current Behavior

The option is unused.

Possible Solution

🤷

@peppelinux
Copy link
Member

mmh... AFAIK that option works in djangosaml2 and it strictly belong to pysaml2, it works

@clokep
Copy link
Author

clokep commented Oct 27, 2020

Looking at the djangosaml2 docs they seem to have this setting as a dict, not a list as the docs state. I'll take a closer look though.

@peppelinux
Copy link
Member

Hey @clokep I hope that you went further with this ... Is it time to close this question?
Would you like to put a PR on pysaml2's documentation regarding this weakness?

@clokep
Copy link
Author

clokep commented Nov 16, 2020

Hey @clokep I hope that you went further with this ... Is it time to close this question?

I didn't have a chance to look further into djangosaml2. I don't know enough about the relationship between these two projects to understand why pysaml2 (a dependency of djangosaml2) would include an option only used by that project.

I could provide a PR which removes this documentation, but I'm now unsure if that's accurate or not.

@peppelinux
Copy link
Member

take your time, I'll back on this on gen 2021 ;)

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

No branches or pull requests

2 participants