|
35 | 35 | import org.mitre.openid.connect.view.HttpCodeView;
|
36 | 36 | import org.mitre.openid.connect.view.JsonEntityView;
|
37 | 37 | import org.mitre.openid.connect.web.DynamicClientRegistrationEndpoint;
|
| 38 | +import org.mitre.openid.connect.web.EndSessionEndpoint; |
38 | 39 | import org.mitre.openid.connect.web.JWKSetPublishingEndpoint;
|
39 | 40 | import org.mitre.openid.connect.web.UserInfoEndpoint;
|
40 | 41 | import org.slf4j.Logger;
|
@@ -310,7 +311,7 @@ OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values
|
310 | 311 | m.put("token_endpoint", baseUrl + "token");
|
311 | 312 | m.put("userinfo_endpoint", baseUrl + UserInfoEndpoint.URL);
|
312 | 313 | //check_session_iframe
|
313 |
| -//end_session_endpoint |
| 314 | +m.put("end_session_endpoint", baseUrl + EndSessionEndpoint.URL); |
314 | 315 | m.put("jwks_uri", baseUrl + JWKSetPublishingEndpoint.URL);
|
315 | 316 | m.put("registration_endpoint", baseUrl + DynamicClientRegistrationEndpoint.URL);
|
316 | 317 | m.put("scopes_supported", scopeService.toStrings(scopeService.getUnrestricted())); // these are the scopes that you can dynamically register for, which is what matters for discovery
|
@@ -368,7 +369,7 @@ OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values
|
368 | 369 |
|
369 | 370 | m.put("code_challenge_methods_supported", Lists.newArrayList(PKCEAlgorithm.plain.getName(), PKCEAlgorithm.S256.getName()));
|
370 | 371 |
|
371 |
| -m.put("device_authorization_endpoint", DeviceEndpoint.URL); |
| 372 | +m.put("device_authorization_endpoint", baseUrl + DeviceEndpoint.URL); |
372 | 373 |
|
373 | 374 | model.addAttribute(JsonEntityView.ENTITY, m);
|
374 | 375 |
|
|
0 commit comments