Skip to content

Commit 183a599

Browse files
committed
fixed OIDC discovery relation URL
1 parent f27df01 commit 183a599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public String apply(Algorithm alg) {
104104
@RequestMapping(value={"/" + WEBFINGER_URL}, produces = MediaType.APPLICATION_JSON_VALUE)
105105
public String webfinger(@RequestParam("resource") String resource, @RequestParam(value = "rel", required = false) String rel, Model model) {
106106

107-
if (!Strings.isNullOrEmpty(rel) && !rel.equals("https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues")) {
107+
if (!Strings.isNullOrEmpty(rel) && !rel.equals("http://openid.net/specs/connect/1.0/issuer")) {
108108
logger.warn("Responding to webfinger request for non-OIDC relation: " + rel);
109109
}
110110

0 commit comments

Comments
 (0)