9
Views
0
Comments
[Microsoft Login Connector Reactive] Bug identified in OAuth2_SyncRoles
Question
microsoft-login-connector-reactive
Reactive icon
Forge asset by MS Login Connector Team
Application Type
Reactive

Hi guys,

I've just tested this component and it was not syncing roles at all, I manage to identify the issue on the code, please analyze it and give me some feedback.

1. In the execution of action OAuth2_SyncRoles, there's no session user session yet, and getuserid() is being used instead of the input parameter UserId:

2. If condition is incorrect on action SyncAzureRoles should be Site.DoSyncRoles and  UserId <> NullIdentifier()

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.