Error when email_verified is returned as string instead of bool
Opened this issue · 0 comments
mitchellkellett commented
I tried to implement this but am experiencing an unusual issue where my IdP (JumpCloud) returns email_verified as a string instead of a bool. As a result, I get the following error:
Failed to get userinfo: oidc: failed to decode userinfo: json: cannot unmarshal string into Go struct field UserInfo.email_verified of type bool