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

external jwt signer logs address of existingvalue when failing #1599

Open
dovholuknf opened this issue Jan 11, 2023 · 0 comments
Open

external jwt signer logs address of existingvalue when failing #1599

dovholuknf opened this issue Jan 11, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dovholuknf
Copy link
Member

see https://github.com/openziti/edge/blob/ac5e2e5c2db4bb171ed36568d70710eda985ee7a/controller/persistence/external_jwt_signer_store.go#L137

It's passing existingValue to NewFieldError. NewFieldError takes an interface and when printed, it's just printing the address of existingValue since existingValue is a *string

the value '0xc003c386f0' for 'jwksEndpoint' is invalid

{"error":{"cause":{"code":"UNHANDLED","message":"the value '0xc003c386f0' for 'jwksEndpoint' is invalid: only one of jwksEndpoint or certPem may be defined"},"code":"REFERENCED_ENTITY_NOT_FOUND","message":"REFERENCED_ENTITY_NOT_FOUND","requestId":"uqFQYz9kL"},"meta":{"apiEnrollmentVersion":"0.0.1","apiVersion":"0.0.1"}}
@dovholuknf dovholuknf added the bug Something isn't working label Jan 11, 2023
@plorenz plorenz transferred this issue from openziti/edge Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants