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

defaultJWTClaimMapper treat namespace as case sensitive #4244

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented Apr 27, 2023

What changed?
Change defaultJWTClaimMapper treat namespace as case sensitive.
Change system namespace from system to temporal-system and make it case sensitive.

Why?
Namespace in temporal is case sensitive.

How did you test it?
Unit test

Potential risks
If the JWT generator produce token using case insensitive namespace name, that will not work with this change.

Is hotfix candidate?
No

@yiminc yiminc requested a review from sergeybykov April 27, 2023 17:18
@yiminc yiminc requested a review from a team as a code owner April 27, 2023 17:18
@yiminc yiminc force-pushed the jwt_claim_namespace branch from a397825 to cbca4b4 Compare April 27, 2023 19:14
Copy link
Member

@dnr dnr left a comment

Choose a reason for hiding this comment

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

probably should add something in the PR description about the change from system to temporal-system.. that one seems more likely to break existing users

change system namespace from `system` to `temporal-system` and make it case sensitive
@yiminc yiminc force-pushed the jwt_claim_namespace branch from cbbee24 to f400099 Compare April 27, 2023 23:18
@yiminc yiminc enabled auto-merge (squash) April 27, 2023 23:19
@yiminc yiminc merged commit 7a24d8e into temporalio:master Apr 27, 2023
samanbarghi pushed a commit to samanbarghi/temporal that referenced this pull request May 2, 2023
)

Change defaultJWTClaimMapper treat namespace as case sensitive.
Change system namespace from system to temporal-system and make it case sensitive.
samanbarghi pushed a commit to samanbarghi/temporal that referenced this pull request May 5, 2023
)

Change defaultJWTClaimMapper treat namespace as case sensitive.
Change system namespace from system to temporal-system and make it case sensitive.
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