AnsweredAssumed Answered

MAS - Registering a device with the client credentials flow

Question asked by eduardooliveira on Aug 13, 2018
Latest reply on Dec 19, 2018 by gophu01

We are trying to register a device using the client credentials flow as specified in: Configure Device Registration - CA Mobile API Gateway - 4.1 - CA Technologies Documentation .

Android Guides | CA Mobile App Services 

There ins't much information on how to do that in the code itself, the only information I found is about the scope required and to call 'MAS.setGrantFlow(MASConstants.MAS_GRANT_FLOW_CLIENT_CREDENTIALS);'.


This is what I tried:

  1. Created a client application with the scopes: oob msso_client_register mas_messaging mas_storage mas_identity_retrieve_users phone profile address email user_role
  2. Use the followings commands:
    • MASUser.login(email, password.toCharArray(), new MASCallback<MASUser>() {...

After that i get this error: register_device response did not include exactly one ID token and ID Token type header.


Any ideas?