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

What is the diffirent from JWT auth token, JWT refresh token, JWR woosession? And about permission #27

Open
IRediTOTO opened this issue May 28, 2021 · 0 comments

Comments

@IRediTOTO
Copy link

IRediTOTO commented May 28, 2021

Hi, I tried to use JWT auth token, JWT refresh token they are both worked to query or mutation.

  1. JWR refresh token has a lifetime live, right ? I saw JWR auth token expired pretty fast, can I edit time of its?
  2. What is the meaning of woosession? Do I need care about it ?
  3. admin JWT can query everything, right?
  4. I add admin JWT refresh to header of Apollo client function, is that safe to use? I need api can query everything include private data like users+ data.
  5. Should we turn on Restrict Endpoint to Authenticated Users feature to get more secure? I tried and if user need login I must call to server then use admin JWT refresh token to mutation =>get user token => return to client => client can query their info on browser. Is this right step? :\

Thank you for any answer.

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

1 participant