Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jwtDecode is not working react native app #323

Closed
4 tasks done
pgpankajcapgemini opened this issue Mar 13, 2024 · 1 comment
Closed
4 tasks done

jwtDecode is not working react native app #323

pgpankajcapgemini opened this issue Mar 13, 2024 · 1 comment
Labels
bug This points to a verified bug in the code

Comments

@pgpankajcapgemini
Copy link

Checklist

  • I have looked into the Readme and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

import { jwtDecode } from "jwt-decode";

const decodedData = jwtDecode(accessToken);

Reproduction

before migrating this library from 3.1.2 it was working fine for mobile app and web but after migration to 4.0.0 it is not working for mobile app (iOS) only.

Additional context

No response

jwt-decode version

4.0.0

Which browsers have you tested in?

Other

@pgpankajcapgemini pgpankajcapgemini added the bug This points to a verified bug in the code label Mar 13, 2024
@frederikprijck
Copy link
Member

frederikprijck commented Mar 13, 2024

Duplicate of #241, see also the polyfilling section of the README.

If you believe this is not a duplicate, please open another issue with more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

2 participants