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

validateIdToken() and validateToken() #107

Open
saad141 opened this issue Nov 19, 2020 · 1 comment
Open

validateIdToken() and validateToken() #107

saad141 opened this issue Nov 19, 2020 · 1 comment

Comments

@saad141
Copy link

saad141 commented Nov 19, 2020

whenever i send request for these functions, promise does not send any response and goes to sleep.

@abisalehalliprasan
Copy link
Collaborator

As long as the token that is generated has an id_token (you would need to pass opendID scopes ) then you will get a successful response as shown below:

 {
  "sub": "fdcc1d14-xxxxxxxxxxxx-f90800a5e01d",
  "aud": [
    "ABOOYFxJY0Exxxxxxxxxx7jHeJqhZTx21Yu6cEdEt"
  ],
  "realmid": "9130xxxxxx306",
  "auth_time": 161xxxxx02,
  "iss": "https://oauth.platform.intuit.com/op/v1",
  "exp": 16xxxx18,
  "iat": 161xxxx18
}

If you still seeing this issue? Could you provide the node version that you are on so that we would be able to reproduce the issue.

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

No branches or pull requests

3 participants