added target link URI capability to webfinger issuer service

pull/1122/head
Justin Richer 8 years ago
parent 74f3e2d0c0
commit d0056ae882

@ -114,8 +114,8 @@ public class WebfingerIssuerService implements IssuerService {
if (blacklist.contains(lr.issuer)) { if (blacklist.contains(lr.issuer)) {
throw new AuthenticationServiceException("Issuer was in blacklist: " + lr.issuer); throw new AuthenticationServiceException("Issuer was in blacklist: " + lr.issuer);
} }
return new IssuerServiceResponse(lr.issuer, lr.loginHint, null); return new IssuerServiceResponse(lr.issuer, lr.loginHint, request.getParameter("target_link_uri"));
} catch (UncheckedExecutionException | ExecutionException e) { } catch (UncheckedExecutionException | ExecutionException e) {
logger.warn("Issue fetching issuer for user input: " + identifier + ": " + e.getMessage()); logger.warn("Issue fetching issuer for user input: " + identifier + ": " + e.getMessage());
return null; return null;

Loading…
Cancel
Save