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:
parent
7f386d38ae
commit
8130c2689b
18 changed files with 513 additions and 286 deletions
13
migrations/mysql/2025-08-20-120000_sso_nonce_to_auth/up.sql
Normal file
13
migrations/mysql/2025-08-20-120000_sso_nonce_to_auth/up.sql
Normal 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()
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue