Loading...

Laravel Sanctum/Airlock Mobile Auth w/ React Native

3,594 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Mar 6, 2020

Airlock has been renamed to Sanctum: https://blog.laravel.com/airlock-rena...

We take a look at using Laravel Airlock for Mobile Authentication. If you've used token-based Auth package in the past, Airlock works the same way. We hit an endpoint and receive a token that has to be stored locally on the device. For subsequent requests to protected routes, that token has to be passed as an Authorization header.

We make use of React Native and Expo for the demo. We hook up our mobile app to our backend Laravel app and implement logging in, logging out and validation.

Original Video: https://www.youtube.com/watch?v=D9oIu...
Ben Awad's Video on React Navigation: https://www.youtube.com/watch?v=Hln37...

GitHub Repo Mobile App: https://github.com/drehimself/rn-airl...
GitHub Repo Backend: https://github.com/drehimself/airlock...

# LINKS
My courses: https://codewithdre.com
Sign up for my newsletter: http://andremadarang.com/newsletter
My website: http://andremadarang.com
Twitter: http://twitter.com/drehimself
GitHub: http://github.com/drehimself
CodePen: http://codepen.io/drehimself

Loading...

Advertisement
to add this to Watch Later

Add to

Loading playlists...