Possibility to configure an OpenID Connect provider on the instance level WIP (#128).

Sign out button for external accounts.
This commit is contained in:
John Livingston
2024-04-18 16:24:09 +02:00
parent 131d9ac22d
commit 2334a5f861
4 changed files with 61 additions and 4 deletions

View File

@ -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)