Skip to content

Latest commit

 

History

History
 
 

connect-to-sap-successfactors

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

SAP API Management, Connect to SAP SuccessFactors Policy Template

| Recipes by Topic | Recipes by Type | Request Enhancement | Report a bug | Fix documentation |

SuccessFactors OAuth to SAML Assertion policy template facilitates easy consumption of SAP SuccessFactors APIs protected by OAuth

Download Policy Template

As SAP SuccessFactors APIs are protected by OAuth, each time you access the API you need to provide an OAuth token. This policy template facilitates easy access by generating the OAuth token, thereby reducing your effort.

How to Use

  • Click on the SuccessFactors_OAuth2SAMLAssertion.zip file

  • Now to download policy template, either hit the Download button or link View Raw

  • To apply this Policy Template on your API Proxy, launch APIPortal (Policy Templates tab) & import.

  • Now open API Proxy on which the policy template needs to be applied, go to policy editor in edit-mode

  • Click on the Policy Template, select the imported Policy Template from the list & apply

  • Enter values for the following variables(in the config.js file):

    'sapapim.sf.user_id', 'sapapim.sf.client_id', 'sapapim.sf.company_id', 'sapapim.sf.token_url' and 'sapapim.sf.private_key'

  • Enter SuccessFactors OAuth token generation url in the 'getOAuthAccessToken' policy
  • Enter SuccessFactors OAuth idp url in the 'getSAMLAssertion' policy

For more information refer blog SuccessFactors OAuth