Wire up MSC2858 brand attribute
For better brand adherance. Also removes old support for https IdP icons.
This commit is contained in:
parent
e6673bca1b
commit
34ae766893
9 changed files with 86 additions and 8 deletions
10
src/Login.ts
10
src/Login.ts
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue