business-sql.insert_oauth2_client_data.sql Maven / Gradle / Ivy
INSERT INTO `oauth_client`(`client_id`, `resource_ids`, `client_secret`, `scope`, `authorized_grant_types`,
`redirect_uris`, `authorities`, `access_token_validity`, `refresh_token_validity`,
`additional_information`)
VALUES ('demo', 'demo-server', '$2a$10$GqmLXMAj1U.QGNJ2Pqd/we.m9FoxIB68EMuhTiKkFS5yIIuppzbCy', 'read,write,trust',
'authorization_code,password,refresh_token,implicit,client_credentials', '[\'https://www.baidu.com\']', 'ROLE_ADMIN',
3600, 7200, NULL)