Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lazychris35w's avatar

How to test Facebook login implemented by Socialite

I would like to test the Facebook login function by providing Facebook account (email & password).

But I found that to get the code (an URL parameter) returned by Facebook but no API available, the page must be redirected out of the website.

Is these any way to implement the testing function?

0 likes
4 replies
ederson's avatar

I was able to test it using as callback url a local ip on my local test server

Please or to participate in this conversation.