[Bug] serverjwtauth sample doesn't work with newer servers
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- go
- Domain
- authentication
Research direction
Update the serverjwtauth README with the USE_INTERNAL_FRONTEND=true and SERVICES values specified in the issue. In key/main.go, inspect the referenced line and change system:admin to temporal-system:admin. Done means the sample instructions match newer servers and the JWT authorization uses the updated role.
Written by the indexing model from the issue text.
Description
Describe the bug
Multiple server changes were made since this sample was written. Specifically we need to:
- Update README to have them set
USE_INTERNAL_FRONTEND=trueenv var andSERVICES=frontend:internal-frontend:history:matching:worker - Update https://github.com/temporalio/samples-go/blob/6b93fe45a8824a56ac70f30832d262b94921a80d/serverjwtauth/key/main.go#L95C35-L95C35 to change
system:admintotemporal-system:admin
- Dominant language
- Go
- Stars
- 749
- Forks
- 248
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from temporalio/samples-go
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
temporalio/samples-go#488 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
temporalio/samples-go#465 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
temporalio/samples-go#348 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
temporalio/samples-go#335 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
temporalio/samples-go#317 · 1 reaction ·
All issues in temporalio/samples-go
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100