Polish JdbcRegisteredClientRepository

Issue gh-291
This commit is contained in:
Joe Grandja
2021-07-08 10:21:36 -04:00
parent a11284f0f5
commit 1ae4f7aa13
8 changed files with 403 additions and 408 deletions

View File

@@ -4,12 +4,12 @@ CREATE TABLE oauth2_registered_client (
client_id_issued_at timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL,
client_secret varchar(200) DEFAULT NULL,
client_secret_expires_at timestamp DEFAULT NULL,
client_name varchar(200),
client_name varchar(200) NOT NULL,
client_authentication_methods varchar(1000) NOT NULL,
authorization_grant_types varchar(1000) NOT NULL,
redirect_uris varchar(1000) NOT NULL,
redirect_uris varchar(1000) DEFAULT NULL,
scopes varchar(1000) NOT NULL,
client_settings varchar(1000) DEFAULT NULL,
token_settings varchar(1000) DEFAULT NULL,
client_settings varchar(2000) NOT NULL,
token_settings varchar(2000) NOT NULL,
PRIMARY KEY (id)
);