Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thiagofa/7b1792745d4de64bd86b230d0e3a381d to your computer and use it in GitHub Desktop.
Save thiagofa/7b1792745d4de64bd86b230d0e3a381d to your computer and use it in GitHub Desktop.
DDL da tabela de clientes OAuth2 da implementação JDBC padrão do Spring Security OAuth2
create table oauth_client_details (
client_id varchar(255),
resource_ids varchar(256),
client_secret varchar(256),
scope varchar(256),
authorized_grant_types varchar(256),
web_server_redirect_uri varchar(256),
authorities varchar(256),
access_token_validity integer,
refresh_token_validity integer,
additional_information varchar(4096),
autoapprove varchar(256),
primary key (client_id)
) engine=innodb default charset=utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment