You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Have all server metadata from the IANA registry
This commit is contained in:
@@ -82,15 +82,14 @@ pub(super) fn filter(config: &OAuth2Config) -> BoxedFilter<(Box<dyn Reply>,)> {
|
||||
jwks_uri: base.join("oauth2/keys.json").ok(),
|
||||
introspection_endpoint: base.join("oauth2/introspect").ok(),
|
||||
userinfo_endpoint: base.join("oauth2/userinfo").ok(),
|
||||
issuer: base,
|
||||
registration_endpoint: None,
|
||||
scopes_supported: None,
|
||||
issuer: Some(base),
|
||||
response_types_supported,
|
||||
response_modes_supported,
|
||||
grant_types_supported,
|
||||
token_endpoint_auth_methods_supported,
|
||||
token_endpoint_auth_signing_alg_values_supported,
|
||||
code_challenge_methods_supported,
|
||||
..Metadata::default()
|
||||
};
|
||||
|
||||
warp::path!(".well-known" / "openid-configuration")
|
||||
|
||||
Reference in New Issue
Block a user