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

JWT RS256 public key verification "jwt parse error: key is of invalid type" #326

Open
orzeszkownik opened this issue Apr 26, 2024 · 0 comments

Comments

@orzeszkownik
Copy link

Hello,
I have successfully configured mosquitto with JWT JS authorization it works well with HS256 tokens, but the problem is that "secret" have to be shared. So I generated tokens signed with private key and would like to verify it with public key. Is it possible, how to configure it? Now I get "jwt parse error: key is of invalid type" message in log.

Best,

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