Hello,
we want to move two databases to keycloak. Let’s call them DBA and DBB.
Users in DBA should get role RA and users from DBB should get role RB.
Users should be able to merge their second account from the other DB.
Example:
User UAB logs into Keycloak with credentials for DBA. So he gets RA assigned (For this part we probably will write a User Storage SPI extension).
Now he should be able to ‘link’ his account from DBB and also gets RB assigned.
Same thing should also work, if the user first signs in with credentials from DBB.
Does keycloak provide functionality to allow this process?