Symptom
When binding a user to your OAuth application in "Manage OAuth2 Client Applications", you receive the error below:
"Incorrect user ID: <user_ID>. Please check the IDs you entered".
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HCM Suite
- OData API
Reproducing the Issue
- Go to "Manage OAuth2 Client Applications" and create a new application or edit an existing one
- Enable the "Bind to Users" checkbox and provide a user ID
- Save
- The error is returned
Cause
You have provided a value which is actually not the user ID.
Resolution
Make sure you are providing the user ID value properly, and not some other value like the username.
To confirm what is the user ID value of a user, you can use Integration Center following these steps:
- Go to Integration Center and create a new Scheduled Simple File Output Integration
- Select User as the starting entity
- Select "userId" field and some other field which you can use to identify the user record (username for example)
- Filter for the user record that you want to know the userId
- You'll be able to confirm what is the userId value
When using this userId value in "Manage OAuth2 Client Applications", no errors should occur.
Keywords
oauth, bind, user, user id, username, user name, error. unable, , KBA , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , LOD-SF-INT-ODATA , OData API Framework , Problem
Product
Attachments
bind_users.jpg |