2

We are implementing a SSO integration, where Salesforce act as the Identity Provider and a NodeJs application in Heroku act as the Service Provider.

We are following this Github project to build the NodeJs application.

Whenever we try to login the NodeJs app with SSO we are facing the following eror from Salesforce.

Insufficient Privileges

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.

We deployed the Github project in heroku and still this error is occuring. What should be the cause for this error?

Edit: These are the settings I'm passing to Salesforce from my NodeJs app.

path: '/login/success'

issuer: 'passport-saml'

entryPoint: 'https://melbin-dev-ed.my.salesforce.com/idp/endpoint/HttpRedirect'

cert: 'MIIErDCCA ... hNZGSaxWWn'

identifierFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified'

2
  • 1
    What are the settings on your web app? Can you post them here? Commented Aug 11, 2017 at 12:14
  • @CuriousBlueprints I updated the question and entered the settings I used in my app.
    – Melbin T
    Commented Aug 11, 2017 at 12:22

1 Answer 1

1

Finally I found what caused this issue. Actually, I entered a wrong URL in ACS URL field of Connected Apps Setup screen in Salesforce. I entered the URL of my NodeJs app and now it is working.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .