Move GetRedirectUrlIfAny to AuthMetadataProvider