JWTDecode.Android
JWTDecode.Android copied to clipboard
java.lang.ArrayIndexOutOfBoundsException - length=1; index=1
Checklist
- [X] I have looked into the Readme and Examples, and have not found a suitable solution or answer.
- [X] I have looked into the API documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
Hello,
I am using this library in my android application to decode jwt token but sometimes i am getting this eror (java.lang.ArrayIndexOutOfBoundsException - length=1; index=1) error but token is valid. How I can solve this issues can you please suggest me.
Reproduction
I can't produce it since my application in play store.
Additional context
No response
JWTDecode.Android version
2.0.2
Android version(s)
13
@pavelsust Any chance you can provide a sample JWT that you used (ensure it is not critical information and just a sample token?)