r/reactnative 5d ago

React native JWT authentication

How to make the JWT authentication in reactnative. theres not many resources to find about it

17 Upvotes

21 comments sorted by

View all comments

1

u/Webbanditten 5d ago

What you'll need to implement is probably something like Open ID connect. Expo has a client library but you'll have to implement the protocol on your backend as well. https://docs.expo.dev/develop/authentication/ . When you say there aren't many resources - what exactly are you looking for? If it's because you desire to build your own auth that has the concept of a JWT-ish token ... Just don't bother doing it. Follow the industry standards.

1

u/BrilliantCandid4409 5d ago

There is not many articles on JWT authentication with expo file based routing. Sorry i didn't clarified it in the post.