Files
java-tutorials/oauth2-framework-impl/oauth2-authorization-server/src/main/resources/data.sql
T

3 lines
393 B
SQL
Raw Normal View History

2019-10-26 15:37:05 -06:00
INSERT INTO `users` (`user_id`, `password`, `roles`, `scopes`) VALUES ('appuser', 'appusersecret', 'USER', 'resource.read resource.write');
INSERT INTO `clients` (`client_id`, `client_secret`, `redirect_uri`,`scope`,`authorized_grant_types`) VALUES ('webappclient', 'webappclientsecret', 'http://localhost:9180/callback', 'resource.read resource.write', 'authorization_code refresh_token');