Question

How to change application credentials

  • 23 June 2022
  • 1 reply
  • 181 views

We've created a teams messaging app and moved it to production. The app uses password based credentials. The promotion to production has associate the app with user who owns the 'main number' for the company (which also happens to be the Super User on the account). How can we specify which user/phone-number & associated password we want the application to use?


1 reply

Sorry, I did not get the question entirely.

From what I know, when you create an app (using any user), it is tied to your account.
What that means is that you can use the app and use any user's credentials to get the access token as described here
Make sure to use the client id, client secret (of the app), username, and password of any user who is part of the account and you can the access token for that user.
When making any future calls using this access token, you will be accessing the resources on behalf of this particular user

All users which have access to the developer portal will be able to see the app in the console with the certain exceptions like
- Only users with the proper roles will be able to see details like the client secret of the app
- Users cannot update the app settings of the app created by another user
etc

Is your use case part of the above exceptions?

Reply