-
Notifications
You must be signed in to change notification settings - Fork 2
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
SP Metadata cannot be generated without a config XML file in place #87
Comments
I'm a bit lost, the skeleton project doesn't contain any sample metadata file at all, you have to create it as far as I knew - you get the file from your SAML provider and add it to your project. When I set this up locally and tested I had to spin up the local docker container, get the file contents and create it, then I could proceed from there. Is this about using the site itself as the SAML provider? I didn't think the plugin had that ability. |
You're correct, see #88 (comment), previously I was asked to provide the SP metadata in order to get the IdP one, apparently there was a misunderstanding there or a different process maybe, can't remember the details. I closed the PR and the next steps would be:
|
I think I'm with you now, browsing to |
Closing out as the docs were updated in #89 - it seems it's intended behaviour to require the config XML in order to generate the metadata. |
The module expects a config file to exist, and falls back to the default file in
.sso/config
from the skeleton project, which doesn't necessarily exist on all installations.Steps to reproduce:
.config/sso/saml-idp-metadata.xml
filehttps://site/sso/metadata
You should see the SP metadata XML file generated, but right now it errors out with
Invalid SSO settings. Contact your administrator.
The solution would be to move the default file to the module directory to ensure it always exists, and load it from there, and remove it from the skeleton project.
Related to support request: https://humanmade.zendesk.com/agent/tickets/5673
The text was updated successfully, but these errors were encountered: