1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-21 17:12:41 +00:00

Improve sso auth flow

This commit is contained in:
Timshel 2025-08-14 13:47:57 +02:00
commit 8130c2689b
18 changed files with 513 additions and 286 deletions

View file

@ -0,0 +1,13 @@
DROP TABLE IF EXISTS sso_nonce;
CREATE TABLE sso_auth (
state VARCHAR(512) NOT NULL PRIMARY KEY,
client_challenge TEXT NOT NULL,
nonce TEXT NOT NULL,
verifier TEXT,
redirect_uri TEXT NOT NULL,
code_response JSON,
auth_response JSON,
created_at TIMESTAMP NOT NULL DEFAULT now(),
updated_at TIMESTAMP NOT NULL DEFAULT now()
);