on 2023 Apr 03 1:34 PM
Hello Expert,
I am working for a client where few 3rd party application want to connect our SuccessFactors API directly(without CPI).
To authenticate SF API's using OAuth first step is to get the SAML Assertion. I understood from the our help document that there are couple of approach to generate the SAML Assertion.
1. Using third-party IdP (Recommended)
2. Using offline SAML generator tool. (for this approach we have SAP Note: 3031657)
In our landscape we have Azure Active Directory, I need some help guide to generate SAML Assertion using this type of 3rd party identity provider(Like: Azure AD etc.)
Regards,
Souvik
Request clarification before answering.
Hello All,
Please find the latest SAP KBA, it demonstrate the step by step process to Generate SAP SuccessFactors SAML Assertion using MS Azure as 3rd Party IDP.
SAP SuccessFactors SAML Assertion format demonstration using MS Azure
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Souvik,
I have got the SuccessFactors ODATA and SFAPI connection working using the offline SAML Generation method but I wanted to use the recommended SAML assertion via Azure.
I'm also following the SAP KBA 3301583
SAP SuccessFactors SAML Assertion format demonstration using MS Azure
I've got down to the testing. I can generate the JWT Token and generate a SAML assertion from MS Azure but on the third step I am stuck on the Test C Exchange token by the SAML assertion in HXM Suite.
Why do you think I am getting this error ? Unable to verify the signature of the SAML assertion. Please ensure that the assertion has a signature and the key pairs match the client ID
I am also wondering about that SAP KBA and the X509 - I am using the SuccessFactors Manage OAuth2 Client Application page - in the KBA they do not explain what to do with it - are you meant to just generate this or paste in something from Azure or do you even need the X509? If so what do you do with it.
Anyway my failed call with that error is as follows (although I am using POSTMAN do to the calls).
POST https://api68sales.successfactors.com/oauth/token
header Content-Type: application/x-www-form-urlencoded
with a body text of;
company_id=abc*************&client_id=NjZkNjM0MGExMD******************* &grant_type=urn:ietf:params:oauth:grant-type:saml2-bearer &assertion=PEFzc2VydGlvbiBJRD0iXzE0***********************
This is the company_id & client_id from the SAP SuccessFactors Admin Centre page "Manage OAuth2 Client Application"
Hi Souvik,
Any solution found on this query, if yes, please share some insight here.
Thanks,
Raj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajkumar,
Check the answer from PDC. If this helps you.
Regards,
Souvik
Did you try the steps of this blog (it's a bit more in depth than the manual is)?
How to use Postman to call SuccessFactors API using OAuth authentication method and SAP Offline SAML...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
7 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.