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

not able to get userID from toke #131

Closed
deepaksinghcs14 opened this issue Jan 9, 2020 · 1 comment
Closed

not able to get userID from toke #131

deepaksinghcs14 opened this issue Jan 9, 2020 · 1 comment
Labels
question Further information is requested

Comments

@deepaksinghcs14
Copy link

can anyone tell me how to get the userID if I have a token?

@SVilgelm SVilgelm added the question Further information is requested label Jan 9, 2020
@SVilgelm
Copy link
Collaborator

SVilgelm commented Jan 9, 2020

There are a two options:

  1. Your token contains the ID in a field sub
  2. You can use GetUserInfo function and the result will contain user's ID in the Sub filed

@SVilgelm SVilgelm closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants