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

fix temporal server start up error #307

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions serverjwtauth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ variables should be set:
* `TEMPORAL_JWT_KEY_SOURCE1=http://host.docker.internal:61884/jwks.json`
* `TEMPORAL_AUTH_AUTHORIZER=default`
* `TEMPORAL_AUTH_CLAIM_MAPPER=default`
* `USE_INTERNAL_FRONTEND=1`
* `SERVICES=frontend:history:matching:worker:internal-frontend`

If using the docker-compose local install, these can be set in `docker-compose.yml`. If using a standalone server
locally, the config is:
Expand Down
2 changes: 1 addition & 1 deletion serverjwtauth/key/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func tctlSystemToken() error {
config := serverjwtauth.JWTConfig{
Key: key,
KeyID: jwk.KeyID,
Permissions: []string{"system:admin"},
Permissions: []string{"temporal-system:admin"},
Expiration: 1 * time.Hour,
}
token, err := config.GenToken()
Expand Down
Loading