This morning, the openId-login on one of my applications, suddenly stopped working.
<%
Map<String, String> openIdProviders;
openIdProviders = new HashMap<String, String>();
Set<String> attributes = new HashSet<String>();
for (String providerName : openIdProviders.keySet()) {
String providerUrl = openIdProviders.get(providerName);
String callbackUrl = signInPath;
//If a continue-parameter is set, send it forward
if (request.getParameter("continue") != null) {
callbackUrl += "?continue="
+ request.getParameter("continue");
}
String loginUrl = userService.createLoginURL(callbackUrl, null,
providerUrl, attributes);
out.println("<a id=\"" + providerName + "\" href=\"" + loginUrl
+ "\">" + providerName + "</a>");
}
%>