Skip to content

Metadata EntityID exception #157

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

Merged
merged 2 commits into from
Apr 29, 2020
Merged

Metadata EntityID exception #157

merged 2 commits into from
Apr 29, 2020

Conversation

peppelinux
Copy link
Member

@peppelinux peppelinux commented Jul 8, 2019

It happens that the SP cannot find the EntityID in its Metadata, throwing a saml2.mdstore.SourceNotFound Exception.

More in the deep this Exception will raise if metadata source is defined as "remote" it's url is not reachable.

this PR showes the Error to the user instead of error 500.

@knaperek
Copy link
Collaborator

Thanks for the PR @peppelinux.
I'm just thinking whether it is appropriate to show a configuration error like this to the end user upon login request. Wouldn't it be better and safer to just log this and show a more generic error message to the end user?

@peppelinux
Copy link
Member Author

Done
97609ef

@peppelinux
Copy link
Member Author

commit rebases, added an error 500 as http status code

…wing a saml2.mdstore.SourceNotFound Exception.

Exception will raise if metadata source is defined as "remote" it's url is not reachable.
@peppelinux
Copy link
Member Author

Changes done, @knaperek if you agree we could merge this and move forward

@peppelinux
Copy link
Member Author

@knaperek @OskarPersson is it ready to be merged or would it need an additional revision?

@peppelinux
Copy link
Member Author

Hi guys, is there any news on this?

@peppelinux
Copy link
Member Author

peppelinux commented Apr 26, 2020

@knaperek that's happens when a PR is not merged in time!
Please let me know seriously what you'd like to do with this, I can fix conflicts but a big picture is also needed before start a work

@peppelinux peppelinux added this to the v0.18.2 milestone Apr 29, 2020
@peppelinux peppelinux merged commit 56ddcfa into IdentityPython:master Apr 29, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants