Wire up MSC2858 brand attribute

For better brand adherance.
Also removes old support for https IdP icons.
This commit is contained in:
Michael Telatynski 2021-01-27 14:27:41 +00:00
parent e6673bca1b
commit 34ae766893
9 changed files with 86 additions and 8 deletions

View file

@ -33,10 +33,20 @@ interface IPasswordFlow {
type: "m.login.password";
}
export enum IdentityProviderBrand {
Gitlab = "org.matrix.gitlab",
Github = "org.matrix.github",
Apple = "org.matrix.apple",
Google = "org.matrix.google",
Facebook = "org.matrix.facebook",
Twitter = "org.matrix.twitter",
}
export interface IIdentityProvider {
id: string;
name: string;
icon?: string;
brand?: IdentityProviderBrand | string;
}
export interface ISSOFlow {