Auth0::login()
and any method which calls Auth0::exchange()
in your callback.
If your users encounter this error:- Ensure your application is not accidentally invoking Auth0::login()
more than once, which could invalidate the state stored on the end user’s device.- The end user is using a modern browser on their device and not blocking cookies.
I am getting curl error 60: SSL certificate problem: self-signed certificate in certificate chain
on Windows
This is a common issue with the latest PHP versions under Windows OS (it is related to an incompatibility between Windows and OpenSSL CA’s database).
https://curl.haxx.se/ca/cacert.pem
to c:/cacert.pem
.openssl.cafile=c:/cacert.pem
. (It should point to the file you downloaded.)