aacotroneo / laravel-saml2

A Laravel 5 package for Saml2 integration as a SP (service provider) based on the simple OneLogin toolkit
MIT License
567 stars 239 forks source link

Invalid response ("A valid SubjectConfirmation was not found on this Response") #238

Open TareqAbughosh opened 4 years ago

TareqAbughosh commented 4 years ago

Hey guys,

I keep getting this error : A valid SubjectConfirmation was not found on this Response

I kept tracing the response thats coming from the idP and I think what is causing the invalid response line 359 in OneLogin\Saml2\Response.php 'NotBefore' Im not sure whats going on but I suspect that maybe it has to do with timezones or something... Can you guys please help out?

adydev15 commented 2 years ago

Hi @TareqAbughosh

Any luck with this error i am also facing same issue .

TareqAbughosh commented 2 years ago

@adydev15 I did solve the issue. Im really sorry, I can't remember what was the solution.

But I think it was a misconfigured file given to me by the team (Used to decrypt messages or encrypt them), or it was a misconfigured timezone from the server itself. But its most likely the first option.

adydev15 commented 2 years ago

Hi @TareqAbughosh

Thanks for reverting as you mentioned it was issue from meta data of ADFS in my case .

So it is working well now .