hydra try to Unmarshal response with map[string]map[string]interface{} for some item, which I think should be map[string]interface{}, but got json: cannot unmarshal ...
This problem exists at
LoginRequest.OidcContext.IdTokenHintClaims
ConsentRequest.OidcContext.IdTokenHintClaims
OAuth2TokenIntrospection.Ext
Reproducing the bug
Launch hydra server, with a proper setting, and create two clients.
Use go sdk to handle login/consent requests.
Preflight checklist
Describe the bug
I think this is the same problem resolved in version 1.11.7. https://github.com/ory/hydra/pull/3074 https://github.com/ory/hydra/issues/3058
hydra try to Unmarshal response with
map[string]map[string]interface{}
for some item, which I think should bemap[string]interface{}
, but gotjson: cannot unmarshal ...
This problem exists at
LoginRequest.OidcContext.IdTokenHintClaims
ConsentRequest.OidcContext.IdTokenHintClaims
OAuth2TokenIntrospection.Ext
Reproducing the bug
Launch hydra server, with a proper setting, and create two clients. Use go sdk to handle login/consent requests.
For
LoginRequest.OidcContext.IdTokenHintClaims
ConsentRequest.OidcContext.IdTokenHintClaims
When initial auth, pass a valid id token value as
id_token_hint
,this will cause that
json: cannot unmarshal ...
on endpoints: Get a Login Request Get Consent Request InformationAnd when
Context
is provided inAcceptLoginRequest
, and then try to introspect the token,OAuth2TokenIntrospection
will give a similar error.Relevant log output
No response
Relevant configuration
No response
Version
1.11.8
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Binary
Additional Context
No response