Symptom
When attempting to utilize an OAuth2 Bearer Assertion destination within a SAPUI5 application to connect with SAP SuccessFactors BizX, an error occurs when requesting SuccessFactors metadata. The error message received is as follows: [LGN0022]Person-only not supported when gace flag is off.
Environment
- SAP SuccessFactors HXM Suite
- OData API
Reproducing the Issue
-
Download Certificate in BTP Destination Service;
-
New Oauth2 client registration in Successfactors and upload of the certificate previouslydownloaded in BTP Destination service;
- Destination creation;
- Application login and check on the developer tools;
- You will see the error.
Cause
The error: "[LGN0022]Person-only not supported when gace flag is off" relates to functionality which is not fully live yet on SF side.
Resolution
The error appears to be caused by the inclusion of the parameters "person_only" and "person_guid" in the authentication process.
As a solution, please remove the "user_uuid" attribute from the IAS side.
Keywords
Authentication error, Authentication parameters, "person_only", "person_guid", IAS, certificate, SAPUI5, oAuth2 , KBA , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , Problem