React Native Axios, AsyncStorage and JSON Web Token (JWT) for Login Authentication

preview_player
Показать описание
Login using JSON Web Token or JWT and then we save token into AsyncStorage. So after user login, user don't need to input email and password anymore. It will auto navigate to another screens.

If you have any question, feel free to ask me on :
- Instagram : charismaaji

Thank you!

#reactnative #reactjs #javascript #jsonwebtoken #jwt #asyncstorage
Рекомендации по теме
Комментарии
Автор

Very good stuff. Helped a lot, thank you :)

DanPeal
Автор

Great tutorial, man. No need to be sorry about your English tho! Pretty spot on on the explanation! Thanks for the help!

mateusneubarth
Автор

Good video, would be nice to do a refresh token flow when access token expires and you have to refresh again to maintain session

jeremyolu
Автор

Thanks man, alot! Where did you use the "jwt-decode": "^3.1.2" though?

emonadriane
Автор

there is an option use Keycloak in react native? or it is enough to use Keycloak api in order to login?

SuperAdil
Автор

Great Tutorial, but can you please provide guideline about refresh token?

priyabapodra
Автор

Keren bang, , , izin belajar dari video ini ya

MYASSERARAFAT-aphet
Автор

Can you please upload a video with Azure SSO authentication, thanks

muhammadasgher
Автор

I'm not sure if you are saving the JWT in async storage, due to this being a tutorial or if this is meant for production. I think it's important that you explain, to those who might not now, that this is not a preffered way to store tokens, even says on various libraries. Async Storage is not meant for confidential information...

emilrasmussen
Автор

In my case navigation is not happening, i even tried navigation.navigate still no response and no error msg on console, could you please help

pankhurigandhi
Автор

Great tutorial!!! I was practicing with a sign up page I designed previously. For some reason though I'm getting an error in the user api when returning my error.res.data saying undefined is not an object, but I handle the error in the login screen. Any thoughts? I've looked all over found nothing.

junky
Автор

Yang di tunggu JWT nya 😢, kenapa yang dijelaskan malah form loginnya.😭

khilmyfr
Автор

bang minimal tambahin cara manggil JSON di postmannya itu gimana walau cuma 1-2 menit, ini bingung juga soalnya pas ngelihat tutornya, react nativenya paham, tapi database managementnya ini bingung

arnoldio
Автор

we should use post method but why you used create method in axios

ChandruChandru-tsnz
Автор

it would be really great if you could publish a github repo :(

beneadie
Автор

Please sir one video apidata translate in React native diff language

awais
Автор

goodjob bro nice tuto, please try to be more loud and clear and enthusiastic in ur videos :)

bilelrahmouni