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

[Human App][Backend] Add JWT validity check #2673

Open
Dzeranov opened this issue Oct 22, 2024 · 0 comments
Open

[Human App][Backend] Add JWT validity check #2673

Dzeranov opened this issue Oct 22, 2024 · 0 comments
Assignees

Comments

@Dzeranov
Copy link
Contributor

Description
Need to add a validity check for a JWT using Reputation Oracle JWT public key

Motivation
As of now we're not checking signature of the JWT, only it's payload.

Implementation details

  1. Grab Reputation Oracle JWT public key from a KVStore on a startup.
  2. Cache it in Redis without TTL. (In case we change Reputation Oracle public key we just need to restart the app).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants