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

obscure error while displaying metadata when sp.key can not be read #11

Open
simevo opened this issue Oct 17, 2018 · 0 comments
Open

obscure error while displaying metadata when sp.key can not be read #11

simevo opened this issue Oct 17, 2018 · 0 comments

Comments

@simevo
Copy link
Owner

simevo commented Oct 17, 2018

at the end pf the docker-compose procedure when I visit the SP metadata endpoint http://localhost:8099/wp-login.php?sso=spid&metadata instead of the XML I get to see this:

This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

to reproduce, just make wp.key unaccessible to the docker_wp container with:

chmod 600 wp.key

to fix it, revert that:

chmod 644 wp.key

this is known to spid-php.lib as: italia/spid-php-lib#27

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

1 participant