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

usman-xlyncs-technologies's avatar

Socialite In React and Laravel

Hi, I want to implement Facebook and Apple authentication in my application (web + mobile) using Laravel Socialite. My front end is in React for web and an iOS application. I have a solution that involves using the Facebook SDK and Apple APIs for authentication via keys. My front-end developer would use the same keys as me, and then I could retrieve the data from the APIs.

However, is there a shorter or more efficient way of doing this?

0 likes
1 reply
mabdullahsari's avatar

You shouldn't be needing any SDK when using Socialite. Socialite is responsible for retrieving the user credentials from the oauth2 identity provider. You have to choose one or the other, not both.

Please or to participate in this conversation.