Skip to content

Provide mechanism to adjust email_verified requirement for OIDC #3954

Closed
@dcarrion87

Description

@dcarrion87
{"message":"Failed to extract OIDC claims.","detail":"json: cannot unmarshal string into Go struct field .email_verified of type bool"}
  • I don't see how to configure AzureAD to have that come through as a bool instead of string.

Ideally there would be ability to disable/adjust this verification option based on OIDC provider. At the moment it just fails without option:

if !claims.Verified {

Activity

kylecarbs

kylecarbs commented on Sep 8, 2022

@kylecarbs
Member

Makes sense. I'll fix this today and publish a new release!

self-assigned this
on Sep 8, 2022
kylecarbs

kylecarbs commented on Sep 8, 2022

@kylecarbs
Member

@dcarrion87 I'm making this only respect email_verified if it's provided... that seems like it should work!

added a commit that references this issue on Sep 8, 2022
5e0e100
kylecarbs

kylecarbs commented on Sep 8, 2022

@kylecarbs
Member
kylecarbs

kylecarbs commented on Sep 8, 2022

@kylecarbs
Member

It's out 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Provide mechanism to adjust email_verified requirement for OIDC · Issue #3954 · coder/coder