Closed jozeflambrecht closed 6 months ago
Do you use https for your local endpoint or Expose for the webhook redirect?
It would be great to learn more about your local setup and your local oauth domain to be able to reproduce the issue.
Same error here i have done the same soultion with not hope to make it work
for me i have two main projects one for the front end uses vue and calls back some api endpoints on the back end i have tried a lot of solution but the main one is to change the php.ini cafile location with not luck to makeit work
both the "client" and the "host/server" are on my local machine my .env of the client
LARAVELPASSPORT_CLIENT_ID=***
LARAVELPASSPORT_CLIENT_SECRET=***
LARAVELPASSPORT_REDIRECT_URI=https://client.test/auth/callback
LARAVELPASSPORT_HOST=https://host.test/
it does work on my production server, but not locally. I don't know if that answers your question..
fixed in next release?
GitHub seems to automatically close issues as soon as they get merged in master. I'll publish the update in the next hour 🙂
Some news about this issue ?
Solution :
Platform
Windows
Operating system version
Windows 11
System architecture
Windows
Herd Version
1.1.0
PHP Version
PHP 8.3
Bug description
When I use Laravel Socialite to authenticate a client app, I get this error:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://example.test/oauth/token
I went into my php.ini (location C:\Users\jozef.config\herd\bin\php83) and put
curl.cainfo ="C:\test\cacert.pem"
Downloaded the file here: https://curl.haxx.se/ca/cacert.pemI restarted the services, herd, my computer, still the same error.
Steps to reproduce
Use Laravel Socialite
$globalUser = Socialite::driver('laravelpassport')->user();
Relevant log output
No response