mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Merge pull request #42 from versia-pub/refactor/openid
Rewrite old authentication code and go OpenID-only
This commit is contained in:
commit
f2e9c862a6
56 changed files with 5726 additions and 2793 deletions
|
|
@ -87,11 +87,6 @@ export const NoteReactionWithAccounts = NoteReaction.extend({
|
|||
|
||||
/* Versia Server API extension */
|
||||
export const SSOConfig = z.object({
|
||||
forced: z.boolean().meta({
|
||||
description:
|
||||
"If this is enabled, normal identifier/password login is disabled and login must be done through SSO.",
|
||||
example: false,
|
||||
}),
|
||||
providers: z
|
||||
.array(
|
||||
z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue