We have enabled the Merge Roles from SSO. The roles are successfully synced when user login for the first time. But when users have role updates from SSO, it's not synced for any further logins.
Steps to reproduce:
Enable Merge Roles from SSO in Oauth setting
Sign in for the first time with user1, and test out if SSO roles is synced (yes)
Add a new SSO role to the user1
Login again with user1
Expected behavior:
User's role should be synced up in Rocketchat based on the SSO role for each user login.
Actual behavior:
SSO roles are only synced during the first time login.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description:
We have enabled the
Merge Roles from SSO
. The roles are successfully synced when user login for the first time. But when users have role updates from SSO, it's not synced for any further logins.Steps to reproduce:
Merge Roles from SSO
in Oauth settingExpected behavior:
User's role should be synced up in Rocketchat based on the SSO role for each user login.
Actual behavior:
SSO roles are only synced during the first time login.
Server Setup Information:
Client Setup Information
Additional context
This is a dup for https://github.com/RocketChat/Rocket.Chat/issues/15225. But issue still exist in version 3.4.*
Relevant logs: