Possibility to configure an OpenID Connect provider on the instance level WIP (#128).
Sign out button for external accounts.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
interface AuthentInfos {
|
||||
type: 'peertube' | 'oidc'
|
||||
jid: string
|
||||
password: string
|
||||
nickname?: string
|
||||
@ -87,7 +88,8 @@ async function getLocalAuthentInfos (
|
||||
return {
|
||||
jid: data.jid,
|
||||
password: data.password,
|
||||
nickname: data.nickname
|
||||
nickname: data.nickname,
|
||||
type: data.type ?? 'peertube'
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
|
Reference in New Issue
Block a user