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 validation v1 #57

Merged
merged 9 commits into from
May 29, 2024
Merged

jwt validation v1 #57

merged 9 commits into from
May 29, 2024

Conversation

Marketen
Copy link
Contributor

@Marketen Marketen commented May 21, 2024

Adds:

  • New GET /signatures authenticated endpoint & handler. Authentication is done through JWT parsing in new middleware in jwtMiddleware.go.
  • jwt-generator: simple JWT generator, expects mandatory "kid" and RSA keypair in ".pem" format

Modifies:

  • README.MD: added instrucitons on how to generate and use JWT for authentication

@Marketen Marketen force-pushed the marc/jwt_validation branch from f0d4d67 to 22d4c11 Compare May 23, 2024 11:56
listener/internal/config/getConfig.go Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
@Marketen Marketen merged commit b87d9b6 into main May 29, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants