Is it possible to have access to the roles of the linked account?
We put core authorisation roles in the access token for access control in our backend. We invite users to our system by creating a user/pwd user with the initial roles. Then when the user logs in with their social login we link the two accounts by email. For this first login to succeed (as in carry the roles needed) we need the roles to be the one in the user/pwd profile - the linked account.
Can this be done? With the authorisation extension we did this - but I’m not able to replicate when migrated to core.