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

Problem on signing a JWT token #10

Open
ramajd opened this issue Jun 5, 2020 · 1 comment
Open

Problem on signing a JWT token #10

ramajd opened this issue Jun 5, 2020 · 1 comment

Comments

@ramajd
Copy link

ramajd commented Jun 5, 2020

Since we don't have direct access to private key, we need to generate the signed JWT manually.

as you might know, JWT token consist of 3 parts:

  1. header
  2. payload
  3. signature

creating the JWT according to the regarding RFCs for JWT and JWS, we can't be able to verify the generated JWT token using public key.

can anyone help us on this issue? alternatively having this feature (create signed JWT) included in this module could be helpful.

@smaldd14
Copy link

Is there a way we can create private key manually? I have a private key I would like to use, but not sure how.

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