Insights Hub How to check scopes included in app credentials with data access level = custom

2021-09-06T08:52:49Z
Developer Tools

Summary


Details

During the creation of app credentials in the developer or operator cockpit, customers can define the data access level. If 'Custom' is selected, it is currently not possible to see in the UI what scopes are included in already created app credentials.


Solution

Customers are able to check the scopes assigned to app credentials with data access level = 'Custom' by decoding the JWT token that is retrieved when using them. For example, if customers use the app credentials after performing the process under the section called "Generating a Token" within following link: https://developer.mindsphere.io/howto/howto-selfhosted-api-access.html. They can then take the token that is retrieved, and decode it to see what is listed for the scopes that are currently assigned to it. These are the scopes that were assigned when the app credentials have been issued. Following image contains an an example of one of these tokens that has been decoded with the help of following website: https://jwt.io/ 


Notes

KB Article ID# PL8523950

Contents

SummaryDetails

Associated Components

Developer Cockpit