user_oidc icon indicating copy to clipboard operation
user_oidc copied to clipboard

Ability to convert group id sent from azure ad to group names

Open small1 opened this issue 2 years ago • 1 comments

New feature.

Ability to convert the group oid to a proper name that is sent from azure ad. on authentication.

This should be a setting pretty much as the enable id4me option.

The code would on authentication from a user query microsoft graph and resolve the oid to a name and then sync that group information down to a readable name.

If the azure ad option is not set it would not be used or visible.

It would ask the microsoft graph api like this and translate the group id to the name.

https://graph.microsoft.com/v1.0/{Configuration.TenantID}/groups/{groupId}

From that it url will get a json that has the name in it and use that instead of oid

small1 avatar Jun 12 '23 14:06 small1

@julien-nc We will run a pull request on this where you can check code etc when we have a sample ready.

small1 avatar Jun 12 '23 14:06 small1