You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
Add upstream OAuth 2.0 providers name and branding
This commit is contained in:
@@ -491,6 +491,8 @@ mod tests {
|
||||
let provider = UpstreamOAuthProvider {
|
||||
id: Ulid::nil(),
|
||||
issuer: "https://valid.example.com/".to_owned(),
|
||||
human_name: Some("Example Ltd.".to_owned()),
|
||||
brand_name: None,
|
||||
discovery_mode: UpstreamOAuthProviderDiscoveryMode::Oidc,
|
||||
pkce_mode: UpstreamOAuthProviderPkceMode::Auto,
|
||||
jwks_uri_override: None,
|
||||
|
||||
@@ -861,6 +861,8 @@ mod tests {
|
||||
&state.clock,
|
||||
UpstreamOAuthProviderParams {
|
||||
issuer: "https://example.com/".to_owned(),
|
||||
human_name: Some("Example Ltd.".to_owned()),
|
||||
brand_name: None,
|
||||
scope: Scope::from_iter([OPENID]),
|
||||
token_endpoint_auth_method: OAuthClientAuthenticationMethod::None,
|
||||
token_endpoint_signing_alg: None,
|
||||
|
||||
Reference in New Issue
Block a user