TheHive icon indicating copy to clipboard operation
TheHive copied to clipboard

[Question] Anybody setup Azure AD with TheHIve4 and sAMaccountName and auto-role?

Open Idriel opened this issue 2 years ago • 0 comments

Hi,

Anybody here have manage to setup TheHive4 and Microsoft oAuth2 that Microsoft Sends custom field like sAMaccountName, Name and last name.

I got it working only with "mail" field and I don't want that from historical reasons (basically, this is new account).

Auto-create user is working.

And if you are able to add "new custom field", how did you map "profile role" to user (example: analyst, org-admin) based on AD group membership...

or at least, how can we get TheHive oAuth2 token id "decrypted" mode so I can see what fields are oAuth2 token sends back as we tried to crete new policy that will send onpremissessamaccountname...

Idriel avatar Feb 16 '22 08:02 Idriel