To solve this senario i created a proxy around the OAuth2AuthorizationRequestResolver and provided custom implementation for the resolve methods.