We have a client that uses openId. Unfortunatly the claims response doesn't provide all the information needed to be able to determine the user groups a user needs to have assigned. We need to make a call to another system to retrieve the information to determine this.
For now we run the logic to determine this and adjust user groups when the user clicks a menu item.
What we would like to do is run this logic as soon as possible after the login. Best would be before menu items are loaded.
Is this possible? Or is there an alternative that we didn't think of?