Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Allowing the client to connect to your server

Ward Weistra edited this page Dec 14, 2015 · 1 revision

Please note that you need to have the transmart-rest-api plugin installed on your server to be able to talk to it: https://github.com/transmart/transmart-rest-api. The version of tranSMART 1.2.4 and up should work with the client.

Allow the android-client to connect to it by adding the following definition to the clients in Config.groovy:

[  
      clientId: 'android-client',  
      clientSecret: '',  
      authorities: ['ROLE_CLIENT'],  
      scopes: ['read'],  
      authorizedGrantTypes: ['authorization_code', 'refresh_token'],  
      redirectUris: ['transmart://oauthresponse']  
  ]

See for more details: https://wiki.transmartfoundation.org/display/TSMTGPL/OAuth+client+application+registration

Clone this wiki locally