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

chore: add organizationID to API token #795

Merged
merged 2 commits into from
May 17, 2024

Conversation

migmartri
Copy link
Member

The generated API JWT token didn't contain the organization ID in it, which made it non-consistent with the robot-account token.

This patch a) adds the organization to the token and b) makes sure that the middleware does the proper parsing

refs #780

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested review from jiparis and javirln May 16, 2024 20:10
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Copy link
Member

@javirln javirln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@migmartri migmartri merged commit bfe0422 into chainloop-dev:main May 17, 2024
13 checks 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