GimmeMylanta's avatar

React authentication using Laravel Passport

Hey guys,

I was wondering if anyone knew of a resource to learn how to use Laravel Passport authentication in a React app.

I can't find anything anywhere.

Thanks in advance.

0 likes
1 reply
mabdullahsari's avatar

There is no API authentication in "the React way". It is the same process for everything, regardless of the used rendering library/framework. You need to deal with the HTTP client.

Most React and Vue apps utilize Axios as the client and Angular comes with its own implementation.

Long story short, any tutorial that is applicable to Vue is also applicable to React and vice versa.

Please or to participate in this conversation.