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

wrong filter wpsimplesaml_idp_metadata_xml in documentation #59

Open
yanmorinokamca opened this issue Jan 7, 2020 · 1 comment
Open

Comments

@yanmorinokamca
Copy link

In https://github.com/humanmade/wp-simple-saml/wiki/Testing-SSO-locally
wpsimplesaml_idp_metadata_xml filter should be wpsimplesaml_idp_metadata_xml_path

@yanmorinokamca
Copy link
Author

also, in the docker run:
-e SIMPLESAMLPHP_SP_ENTITY_ID=http://mysite.local \
the entity_id should be compatible with the metadata id (sso_sp_base) which has a '/' by default in get_sso_settings()

sso_sp_base' => is_sso_enabled_network_wide() ? get_home_url( get_network()->site_id, '/' ) : home_url( '/' )

it's working better with: -e SIMPLESAMLPHP_SP_ENTITY_ID=http://mysite.local/ \

Otherwise you get a Unable to locate metadata for 'https://mysite.local/' when testing the authentification.

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