aerialship / SamlSPBundle

SAML 2.0 Symfony SP Bundle - new version available at
http://www.lightsaml.com/SP-Bundle/
MIT License
63 stars 43 forks source link

Unable to find idp-FederationMetadata.xml #46

Closed anakinjay closed 10 years ago

anakinjay commented 10 years ago

Going crazy here. Following the documentation step by step, when I get to Step 7: Exchange metadata: Download your SP metadata by visiting the (configurable) URL /saml/sp/FederationMetadata.xml

I point my browser to myapplication.com/saml/sp/FederationMetadata.xml and I get this error:

Unable to find file "@MYBundle/Resources/idp-FederationMetadata.xml

any ideas? really wracking my brain on this one.

edit: Looks like I get that error if I try to run anything on my app. I'm assuming the issue is that: firewalls: saml: pattern: ^/

is forcing everything to go through saml authentication including /saml/sp/FederationMetadata.xml but since I don't have the idp xml file it's erroring out.

any idea how to get around this?

anakinjay commented 10 years ago

Figured it out, the steps in step 7 need to be switched around, you have to download the idp to the resources first, THEN you can download your sp meta data.

This might need a documentation tweak?