|
|
@ -6,6 +6,8 @@ values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- initial oauth client details test data
|
|
|
|
-- initial oauth client details test data
|
|
|
|
|
|
|
|
-- 'unity-client' support browser,mobile-device visit
|
|
|
|
|
|
|
|
-- 'mobile-client' only support mobile-device visit
|
|
|
|
truncate oauth_client_details;
|
|
|
|
truncate oauth_client_details;
|
|
|
|
insert into oauth_client_details
|
|
|
|
insert into oauth_client_details
|
|
|
|
(client_id, resource_ids, client_secret, scope, authorized_grant_types,
|
|
|
|
(client_id, resource_ids, client_secret, scope, authorized_grant_types,
|
|
|
@ -15,6 +17,6 @@ values
|
|
|
|
('unity-client','unity-resource', 'unity', 'read,write','password,authorization_code,refresh_token,implicit',
|
|
|
|
('unity-client','unity-resource', 'unity', 'read,write','password,authorization_code,refresh_token,implicit',
|
|
|
|
null,'ROLE_UNITY',null,
|
|
|
|
null,'ROLE_UNITY',null,
|
|
|
|
null,null, now(), 0, 0),
|
|
|
|
null,null, now(), 0, 0),
|
|
|
|
('mobile-client','mobile-resource', 'mobile', 'read,write','password,authorization_code,refresh_token,implicit',
|
|
|
|
('mobile-client','mobile-resource', 'mobile', 'read,write','password,refresh_token',
|
|
|
|
null,'ROLE_MOBILE',null,
|
|
|
|
null,'ROLE_MOBILE',null,
|
|
|
|
null,null, now(), 0, 0);
|
|
|
|
null,null, now(), 0, 0);
|
|
|
|