Skip to content

Missing user info on InviteCollaboratorForm #12043

Open
@pascuflow

Description

Describe the bug

I have an external IDP with a OIDC flow to create users and when I try to share a file with people, the search dropdown list just shows their display names. This is not an issue when I create users via the admin dashboard.

Expected behavior

I can see the mail below their name on the Share with people dropdown:

Screenshot from 2024-12-17 13-35-55

Setup

Setup an external IDP to create users with a OIDC flow with a response like:

{
    iss: 'https://example.com',
    sub: 123445678,
    aud: "web",
    scp: "profile email openid",
    name: test,
    email: `[email protected]`,
    preferred_username: test1,
    roles: ["ocisSpaceAdmin"],
}

Screenshot from 2024-12-17 13-08-10

Screenshot from 2024-12-17 13-05-28

As you can see response from clientService.graphAuthenticated.users.getMe on the Account page pulls all the user info, but the clientService.graphAuthenticated.users.listUsers function returns incomplete user info.

Metadata

Assignees

No one assigned

    Labels

    Type:BugSomething isn't working

    Type

    No type

    Projects

    • Status

      Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions