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

* refactoring, to allow several OIDC singletons
* settings for google and facebook
* backend code
This commit is contained in:
John Livingston
2024-04-22 13:03:31 +02:00
parent 4bc2d4fd51
commit 024186ba2c
16 changed files with 341 additions and 142 deletions

View File

@ -94,7 +94,7 @@ async function unregister (): Promise<any> {
await RoomChannel.destroySingleton()
await BotConfiguration.destroySingleton()
await ExternalAuthOIDC.destroySingleton()
await ExternalAuthOIDC.destroySingletons()
const module = __filename
OPTIONS?.peertubeHelpers.logger.info(`Unloading module ${module}...`)