sap-successfactors

Authentication for SuccessFactors and get all the entities


Authentication and get all entities using any api

Hi, I have to integrate the SAP SuccessFactors in our platform but how to authenticate the user I have seen two ways basic authentication and OAuth which one is secure ?And once authentication done I have to grab all entities available in it.Do we have any metadata api available?


Solution

  • You can call $metadata (e.g. https://apisalesdemo4.successfactors.com/$metadata) for a metadata overview (for each entity you see all options, filterable, upsertable etc.)

    Always prefer OAuth over Basic Auth: OAuth is good than Basic Authentication, Basic Authentication's Drawback is , it is not that much secure. your credentials can be hacked. OAuth helps you in creating a secure passage for your access, and it uses RSA encryption as part of its setup, So OAuth is preferred one! from: https://community.atlassian.com/t5/Answers-Developer-Questions/Difference-between-OAuth-and-Basic-Authentication-and-where/qaq-p/530513