lightSAML / SpBundle

SAML2 SP Symfony Bundle based on LightSAML
https://www.lightsaml.com/SP-Bundle/
MIT License
66 stars 70 forks source link

"Unknown InResponseTo _xxx" error when trying to authenticate from local #60

Open marinij opened 7 years ago

marinij commented 7 years ago

Hello,

First of all, thank you for this beautiful library.

I have a Symfony app working with an Azure AD. The authenfication works in production, I set the entity_id as my web site domain, the response url to my_domain/saml/login_check and everything is fine. The problem is that the authentification doesn't work when I authenticate to Azure AD from localhost, I get the error in the title. I think that the problem is when the prod server gets the response from the Azure AD after my local authentification, the prod server dosen't recognize my local server, and pops the error.

Is there a way to make my authentification work from local and production at the same time ?

Thanks !