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

Token Parameter in Request Body #745

Open
meenumathew opened this issue Aug 20, 2023 · 0 comments
Open

Token Parameter in Request Body #745

meenumathew opened this issue Aug 20, 2023 · 0 comments
Labels

Comments

@meenumathew
Copy link

I have been working on implementing token-based authentication using Simple JWT with RSA encryption, and I've come across a few doubts that I'd appreciate your expertise in clarifying. Here are my questions:

  1. When making a request to the "/api/token/verify/" section of the API, what should be the specific value inserted into the request body for the "token" parameter? Is this value synonymous with the access token?
  2. If the mentioned value is indeed the access token, could you provide an explanation for why it is necessary to share the paths to public keys with clients?
  3. Could you provide me with an understanding of the significance of the "/api/token/verify/" section within the context of this scenario? Based on my current understanding, the verification of tokens seems to occur automatically when calling the "api/token/" endpoint to obtain token pairs. Is this correct?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants