react-native-jwt icon indicating copy to clipboard operation
react-native-jwt copied to clipboard

React Native compatible JSON Web Token encoder / decoder

Results 6 react-native-jwt issues
Sort by recently updated
recently updated
newest added

The following error is thrown when i call this line of code `var token = jwt.encode(payload, secret, 'RS256');` Cannot read property '2' of null Stack trace module.exports fixProc.js:13 parseKeys index.js:18...

Hi, The library is not working with the latest react native version. The following error shows up: ``` Object prototype may only be an Object or null ``` I did...

Hi, I am getting this on Windows + Android ![image](https://user-images.githubusercontent.com/29378614/28465132-99e696e0-6e1f-11e7-84fd-1a56d0038dc1.png) Reproducible by doing the following: 1. `react-native init randombytestest` 2. `npm install -g rn-nodeify` 3. `npm install react-native-randombytes --save` 4....

I just followed all the instructions and everything seemed to work right but as soon as I imported jwt I started getting the error `Cannot read property 'split' of undefined`...

Using the React-Native 0.34.0, the output of `jwt.encode(payload, jwtSecret)` doesn't have a valid signature. This doesn't happens on android. Using this code: ``` javascript const testData = {bar: 'baz', bacon:...

Added token expiration time and escaped base64 for payload. Without those changes, it didn't work for me.