Thanks to visit codestin.com
Credit goes to github.com

Skip to content

OIDC Connection: Missing profile email in /api/oauth/userinfo endpointΒ #3916

@MarcelGeo

Description

@MarcelGeo

Found a bug? Please fill out the sections below. πŸ‘

Issue Summary

We attempted to connect to the OIDC provider (Entra in our case). The response from api/oauth/userinfo does not provide the email attribute. After some debugging, we found that the email is parsed from the Entra user's Contact information attribute, but only if it is present. We are unsure if this is the expected behavior. The email in the contact information in Entra is not filled out by default, and there is also the possibility to add multiple emails.

Image

Steps to Reproduce

  1. Create connection in jackson dashboard
  2. Select OIDC and provide all necessary fields to entra OIDC
  3. try to use API

Expected behaviour could be, that email should be parsed properly from user in that case. Because entra user is having email and not need to be provided in entra users contact information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions