ISSUE #158: JWKS Authentication and API Gateway#150
Open
chazapp wants to merge 21 commits into
Open
Conversation
Owner
|
Problem right now:
no header curl request yields |
Owner
|
got it working with the above commit. we need to include the iss and sub fields and match iss to the issuer field on the kind: RequestAuthentication |
chazapp
commented
Mar 18, 2025
| const privateKey = await getPrivateKey(); | ||
| const token = await new jose.SignJWT({ | ||
| email: userRecord.email, | ||
| iss: "eru-labs-jwt-issuer", |
Collaborator
Author
There was a problem hiding this comment.
Suggested change
| iss: "eru-labs-jwt-issuer", | |
| iss: "eru-labs", |
It's the brand signature, no need to be explicit about jwt-issuer
…to spoof an internal user
…s k8s sercret, k8s user service account, rbac + rolebinding
…api calls n stuff
Owner
|
I updated the agent-manager (typo in commit) give it a look over when you get a chance. i think i did it correctly. Im going to work on the agent-builder and settings page next. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR finishes implementation of JWKS based authentication. The
ea-frontproject emits JWTs that can be verified using the public key accessible at/api/jwks; The PR also configures the Istio API Gateway to access the front-end over HTTP and HTTPS via self-signed certificate.