Unable to integrate Web UI to Jumpcloud OIDC

Hi,

We have deployed temporal using helm-charts in Kubernetes and currently we are trying to implement auth in web-UI. Enabled the auth under web and added below values as additional environment variables. when we try to launch temporal UI through Jumpcloud, it is giving the below error.
Please review and let us know what we are missing here.

Do we have any handbook or guidelines on integration with Jumpcloud?

Temporal Server Version 1.22.0
Temporal UI Version 2.18.0

additionalEnv:

  • name: TEMPORAL_AUTH_ENABLED
    value: “true”
  • name: TEMPORAL_AUTH_CALLBACK_URL
    value: “https://xxxxxxxxxxx/auth/sso/callback
  • name: TEMPORAL_AUTH_PROVIDER_URL
    value: “https://oauth.id.jumpcloud.com/
  • name: TEMPORAL_AUTH_LABEL
    value: “sso”
  • name: TEMPORAL_AUTH_TYPE
    value: “oidc”
  • name: TEMPORAL_AUTH_CLIENT_ID
    value: “xxxxxxxxxxxxxxxxxxxxxxxx”
  • name: TEMPORAL_AUTH_CLIENT_SECRET
    value: “xxxxxxxxxxxxxxxxxxxx”
  • name: TEMPORAL_AUTH_SCOPES
    value: “openid profile email”

Error:
{
“message”: “json: cannot unmarshal string into Go struct field Claims.email_verified of type bool”
}

I fix it by removing the email field scopes on JumpCloud side