User gets an Invalid Scope error when generating a token - HxGN SDx - Update 63 - Administration & Configuration - Hexagon

HxGN SDx API Services Configuration

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Problem

You get an Invalid Scope error when generating a token.

Solution

An OAuth client must specify a valid scope as part of token generation. In SmartPlant Foundation version 2016 (6.0), the correct value was SPF. In later versions, the correct scope value to use is ingr.api.

These values are case sensitive. You can check what scopes are configured by logging in to the Authorization Server and viewing the configured scopes.

SHARED Tip You can see further details of this error by turning on logging.