We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05dc326 commit 42a787dCopy full SHA for 42a787d
oauth2/oauth2-client/src/main/resources/org/springframework/security/oauth2/client/oauth2-client-schema-postgres.sql
@@ -0,0 +1,13 @@
1
+CREATE TABLE oauth2_authorized_client (
2
+ client_registration_id varchar(100) NOT NULL,
3
+ principal_name varchar(200) NOT NULL,
4
+ access_token_type varchar(100) NOT NULL,
5
+ access_token_value bytea NOT NULL,
6
+ access_token_issued_at timestamp NOT NULL,
7
+ access_token_expires_at timestamp NOT NULL,
8
+ access_token_scopes varchar(1000) DEFAULT NULL,
9
+ refresh_token_value bytea DEFAULT NULL,
10
+ refresh_token_issued_at timestamp DEFAULT NULL,
11
+ created_at timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL,
12
+ PRIMARY KEY (client_registration_id, principal_name)
13
+);
0 commit comments