mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 09:57:43 +00:00
fix: JWT Profile (#748)
* fix: correct env var for tracing type * fix: local env tracing * fix: key in detail as string * fix: implement storage * fix: machine key by id fix: store public key as bytes instead of crypto value * update oidc pkg * dont check origins for service account tokens * fix: scopes * fix: dependencies * fix: dependencies * fix: remove unused code * fix: variable naming Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
14
migrations/cockroach/V1.12__machine_keys.sql
Normal file
14
migrations/cockroach/V1.12__machine_keys.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
CREATE TABLE auth.machine_keys (
|
||||
id TEXT,
|
||||
user_id TEXT,
|
||||
|
||||
machine_type SMALLINT,
|
||||
expiration_date TIMESTAMPTZ,
|
||||
sequence BIGINT,
|
||||
creation_date TIMESTAMPTZ,
|
||||
public_key JSONB,
|
||||
|
||||
PRIMARY KEY (id, user_id)
|
||||
);
|
||||
|
||||
ALTER TABLE management.machine_keys ADD COLUMN public_key JSONB;
|
5
migrations/cockroach/V1.13__machine_keys_public.sql
Normal file
5
migrations/cockroach/V1.13__machine_keys_public.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE management.machine_keys DROP COLUMN IF EXISTS public_key;
|
||||
ALTER TABLE management.machine_keys ADD COLUMN public_key BYTES;
|
||||
|
||||
ALTER TABLE auth.machine_keys DROP COLUMN IF EXISTS public_key;
|
||||
ALTER TABLE auth.machine_keys ADD COLUMN public_key BYTES;
|
Reference in New Issue
Block a user