Adding some standard OpenID Connect providers (Google, Facebook) (WIP):

* frontend
This commit is contained in:
John Livingston
2024-04-22 14:28:55 +02:00
parent 024186ba2c
commit 0a492d1921
8 changed files with 148 additions and 93 deletions

View File

@ -22,10 +22,11 @@ interface InitConverseJSParams {
transparent: boolean
forceDefaultHideMucParticipants?: boolean
autofocus?: boolean
externalAuthOIDC?: {
externalAuthOIDC?: Array<{
type: ExternalAuthOIDCType
buttonLabel: string
url: string
}
}>
}
interface InitConverseJSParamsError {
@ -119,6 +120,8 @@ interface ExternalAuthResultError {
type ExternalAuthResult = ExternalAuthResultError | ExternalAuthResultOk
type ExternalAuthOIDCType = 'custom' | 'google' | 'facebook'
export type {
ConverseJSTheme,
InitConverseJSParams,
@ -132,5 +135,6 @@ export type {
ChatPeertubeIncludeMode,
ExternalAuthResultError,
ExternalAuthResultOk,
ExternalAuthResult
ExternalAuthResult,
ExternalAuthOIDCType
}