|
1 | 1 | /* |
2 | | - * Copyright (C) 2016-2022 Authlete, Inc. |
| 2 | + * Copyright (C) 2016-2024 Authlete, Inc. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
|
32 | 32 | * |
33 | 33 | * <p> |
34 | 34 | * An OpenID Provider that supports <a href= |
35 | | - * "http://openid.net/specs/openid-connect-discovery-1_0.html">OpenID Connect |
| 35 | + * "https://openid.net/specs/openid-connect-discovery-1_0.html">OpenID Connect |
36 | 36 | * Discovery 1.0</a> must provide an endpoint that returns its configuration |
37 | 37 | * information in a JSON format. Details about the format are described in |
38 | | - * "<a href="http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata" |
| 38 | + * "<a href="https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata" |
39 | 39 | * >3. OpenID Provider Metadata</a>" in OpenID Connect Discovery 1.0. |
40 | 40 | * </p> |
41 | 41 | * |
42 | 42 | * <p> |
43 | 43 | * Note that the URI of an OpenID Provider configuration endpoint is defined in |
44 | | - * "<a href="http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationRequest" |
| 44 | + * "<a href="https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationRequest" |
45 | 45 | * >4.1. OpenID Provider Configuration Request</a>" in OpenID Connect Discovery |
46 | 46 | * 1.0. In short, the URI must be: |
47 | 47 | * </p> |
|
53 | 53 | * <p> |
54 | 54 | * <i>Issuer Identifier</i> is a URL to identify an OpenID Provider. For example, |
55 | 55 | * {@code https://example.com}. For details about Issuer Identifier, See <b>{@code issuer}</b> |
56 | | - * in "<a href="http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata" |
| 56 | + * in "<a href="https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata" |
57 | 57 | * >3. OpenID Provider Metadata</a>" (OpenID Connect Discovery 1.0) and <b>{@code iss}</b> in |
58 | | - * "<a href="http://openid.net/specs/openid-connect-core-1_0.html#IDToken">2. ID Token</a>" |
| 58 | + * "<a href="https://openid.net/specs/openid-connect-core-1_0.html#IDToken">2. ID Token</a>" |
59 | 59 | * (OpenID Connect Core 1.0). |
60 | 60 | * </p> |
61 | 61 | * |
|
66 | 66 | * use, so you should change it. |
67 | 67 | * </p> |
68 | 68 | * |
69 | | - * @see <a href="http://openid.net/specs/openid-connect-discovery-1_0.html" |
| 69 | + * @see <a href="https://openid.net/specs/openid-connect-discovery-1_0.html" |
70 | 70 | * >OpenID Connect Discovery 1.0</a> |
71 | 71 | * |
| 72 | + * @see <a href="https://www.rfc-editor.org/rfc/rfc8414.html" |
| 73 | + * >RFC 8414 OAuth 2.0 Authorization Server Metadata</a> |
| 74 | + * |
72 | 75 | * @author Takahiko Kawasaki |
73 | 76 | */ |
74 | | -@Path("/.well-known/openid-configuration") |
| 77 | +@Path("/.well-known/{path : openid-configuration|oauth-authorization-server}") |
75 | 78 | public class ConfigurationEndpoint extends BaseConfigurationEndpoint |
76 | 79 | { |
77 | 80 | /** |
|
0 commit comments