mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
feat(api): ✨ Automatically register user when connecting with OIDC profile not already existing
This commit is contained in:
parent
70a669a29c
commit
99f14ba114
6 changed files with 99 additions and 26 deletions
|
|
@ -93,6 +93,7 @@ export const configValidator = z.object({
|
|||
}),
|
||||
oidc: z.object({
|
||||
forced: z.boolean().default(false),
|
||||
allow_registration: z.boolean().default(true),
|
||||
providers: z
|
||||
.array(
|
||||
z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue