1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

Add upstream OAuth 2.0 providers name and branding

This commit is contained in:
Quentin Gliech
2023-11-20 14:49:57 +01:00
parent a5428f10c5
commit 5126d36b2e
21 changed files with 295 additions and 107 deletions

View File

@@ -33,6 +33,12 @@ pub struct UpstreamOAuthProviderParams {
/// The OIDC issuer of the provider
pub issuer: String,
/// A human-readable name for the provider
pub human_name: Option<String>,
/// A brand identifier, e.g. "apple" or "google"
pub brand_name: Option<String>,
/// The scope to request during the authorization flow
pub scope: Scope,