We are working on Sitecore 9.2 and need to implement Federated authentication with Azure AD here we will process returned claim and claims will return email ID and now based on email Id we need to check if the user exists in core db and assigned the respective role to user.
Questions here is can role mapping with Sitecore can be done with Email ID using Configuration or this needs custom Processor