Dynamically configure prior to creating OAuth2 instance.