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

Missing user info on InviteCollaboratorForm #12043

Open
pascuflow opened this issue Dec 17, 2024 · 0 comments
Open

Missing user info on InviteCollaboratorForm #12043

pascuflow opened this issue Dec 17, 2024 · 0 comments
Labels
Type:Bug Something isn't working

Comments

@pascuflow
Copy link

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.

@pascuflow pascuflow added the Type:Bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant