Skip to content

Generated JWT Token doesn't contains valid fields #349

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

Open
shashank0495 opened this issue Oct 23, 2019 · 1 comment
Open

Generated JWT Token doesn't contains valid fields #349

shashank0495 opened this issue Oct 23, 2019 · 1 comment

Comments

@shashank0495
Copy link

shashank0495 commented Oct 23, 2019

The library version used
django-oidc-provider - 0.7.0
For using this library with IOS App, I have used react-native-app-auth (4.4.0)
https://www.npmjs.com/package/react-native-app-auth

{
  "nbf": 1571815642,
  "exp": 1571815942,
  "iss": "",
  "aud": "",
  "nonce": "",
  "iat": ,
  "at_hash": "",
  "sid": "",
  "sub": "",
  "auth_time": ,
  "idp": "local",
  "amr": [
    "pwd"
  ]
These are the fields needed by an IOS app to validate a JWT token.
Kindly let me know if someone knows a fix for this.
@geoff-va
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants