mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: allow storing extra oauth token properties in the database (#10152)
This commit is contained in:
3
coderd/database/dump.sql
generated
3
coderd/database/dump.sql
generated
@ -359,7 +359,8 @@ CREATE TABLE external_auth_links (
|
||||
oauth_refresh_token text NOT NULL,
|
||||
oauth_expiry timestamp with time zone NOT NULL,
|
||||
oauth_access_token_key_id text,
|
||||
oauth_refresh_token_key_id text
|
||||
oauth_refresh_token_key_id text,
|
||||
oauth_extra jsonb
|
||||
);
|
||||
|
||||
COMMENT ON COLUMN external_auth_links.oauth_access_token_key_id IS 'The ID of the key used to encrypt the OAuth access token. If this is NULL, the access token is not encrypted';
|
||||
|
Reference in New Issue
Block a user