laravel-saml2 icon indicating copy to clipboard operation
laravel-saml2 copied to clipboard

ACS url troughing error

Open swarnimaventure opened this issue 2 years ago • 1 comments

  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

swarnimaventure avatar Nov 24 '23 10:11 swarnimaventure

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.

Artemu avatar Feb 11 '24 14:02 Artemu