• Neela Joshi
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi all,

We are trying to create a form in our company's wesite which is built in PHP, provide user a form that will then let the user login to the partner portal we have.

I tried posting https://cs4.salesforce.com/secur/login_portal.jsp?orgId=XXXXXXXX&portalId=XXXXXX&un=test@example.com.wbsn.int&pw=password123 and this logs me to the portal fine but I feel like this is not a right way to authenticate the login process.

Is there any REST API or anything that I can use to do a SSO login from my website?

I tried using https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm but that didnt work for us. Any suggestions would be helpful.
Hi all,

We are trying to create a form in our company's wesite which is built in PHP, provide user a form that will then let the user login to the partner portal we have.

I tried posting https://cs4.salesforce.com/secur/login_portal.jsp?orgId=XXXXXXXX&portalId=XXXXXX&un=test@example.com.wbsn.int&pw=password123 and this logs me to the portal fine but I feel like this is not a right way to authenticate the login process.

Is there any REST API or anything that I can use to do a SSO login from my website?

I tried using https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm but that didnt work for us. Any suggestions would be helpful.