24Slides / laravel-saml2

[Laravel 5.4+] An integration to add SSO to your service via SAML2 protocol based on OneLogin toolkit with support of multiple Identity Providers
MIT License
225 stars 68 forks source link

ACS url troughing error #77

Open swarnimaventure opened 9 months ago

swarnimaventure commented 9 months ago

1) Clicked on login with google account by using "https://mydomain/saml2/uuid/login" url 2) it redirects to google account window to fill email 3) after click on login or continue it returns to "https://mydomain/saml2/uuid/acs"

and than I got following error (check screenshots)

Screenshot 2023-11-24 155610

saml-error

openssl_x509_read() x.509 certificate cannot be retrieved

Artemu commented 7 months ago

The certificate you passed for the IDA server is likely invalid. I had a similar issue and had incorrectly pasted it. The database entry should only be -----BEGIN CERTIFICATE-----[THIS BASE64 TEXT HERE ONLY]-----END CERTIFICATE----- and do not include the start and end of the cert.