diff --git a/others/database/initial_data.ddl b/others/database/initial_data.ddl index 35427ad..44565aa 100644 --- a/others/database/initial_data.ddl +++ b/others/database/initial_data.ddl @@ -6,6 +6,8 @@ values -- initial oauth client details test data +-- 'unity-client' support browser,mobile-device visit +-- 'mobile-client' only support mobile-device visit truncate oauth_client_details; insert into oauth_client_details (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', null,'ROLE_UNITY',null, 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,null, now(), 0, 0);