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

Error when email_verified is returned as string instead of bool #4

Open
mitchellkellett opened this issue Sep 1, 2024 · 0 comments

Comments

@mitchellkellett
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant