final String overrideHost = getConfiguration().getString(
SettingKeys.REDIRECT_URI_HOST);
final boolean isHttps = useSecureRedirectUri();
final PlayAuthenticate.Resolver resolver = PlayAuthenticate.getResolver();
if (resolver == null) {
throw new ResolverMissingException("Resolver has not been set.");
}
final Call c = resolver.auth(getKey());
if (overrideHost != null && !overrideHost.trim().isEmpty()) {
return "http" + (isHttps ? "s" : "") + "://" + overrideHost
+ c.url();