• Marek Saktor
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 1
    Questions
  • 2
    Replies

I am trying to use the front door trick to SSO our users so they can access Knowledge Base.
http://docs.releasenotes.salesforce.com/en-us/winter14/release-notes/security_frontdoorjsp.htm

I have my connected app set up (web scope and all that jazz), I am able to retrieve OAuth access_token from https://test.salesforce.com/services/oauth2/token

But when I try to use it: 
https://cs89.salesforce.com/secur/frontdoor.jsp?sid={TOKEN_HERE}&retURL=%2Farticles%2FKnowledge_Article%2FTest-knowledge-article-Marek

I always get redirected to log in screen on test.salesforce.com

any thoughts?
thanks

I am trying to use the front door trick to SSO our users so they can access Knowledge Base.
http://docs.releasenotes.salesforce.com/en-us/winter14/release-notes/security_frontdoorjsp.htm

I have my connected app set up (web scope and all that jazz), I am able to retrieve OAuth access_token from https://test.salesforce.com/services/oauth2/token

But when I try to use it: 
https://cs89.salesforce.com/secur/frontdoor.jsp?sid={TOKEN_HERE}&retURL=%2Farticles%2FKnowledge_Article%2FTest-knowledge-article-Marek

I always get redirected to log in screen on test.salesforce.com

any thoughts?
thanks
Hello,

I am using Frontdoor.jsp to Log Into Salesforce from one of the the Salesforce Organization(Source) to another Salesforce Organization (Target).

I have created one Connected App in Target Org with web scope.

Connected App

As per the documentation, we can use access_token from an OAuth authentication instead of Session ID.
https://help.salesforce.com/HTViewHelpDoc?id=security_frontdoorjsp.htm&language=en_US

I am unable to redirect to Target Organization with access_token from an OAuth instead of session ID.

targetURL: https://instance.salesforce.com/secur/frontdoor.jsp?sid=access_token&retURL=optional_relative_url_to_open

Thanks!!!
 
Hello,

I am using Frontdoor.jsp to Log Into Salesforce from one of the the Salesforce Organization(Source) to another Salesforce Organization (Target).

I have created one Connected App in Target Org with web scope.

Connected App

As per the documentation, we can use access_token from an OAuth authentication instead of Session ID.
https://help.salesforce.com/HTViewHelpDoc?id=security_frontdoorjsp.htm&language=en_US

I am unable to redirect to Target Organization with access_token from an OAuth instead of session ID.

targetURL: https://instance.salesforce.com/secur/frontdoor.jsp?sid=access_token&retURL=optional_relative_url_to_open

Thanks!!!
 
Hi all,
I created a connected app with Full and Web scope included. I'm able to retrieve the salesforce instance and access token and query the salesforce objects with rest apis. 
However when I try to access the Frontdoor.jsp with the call https://inst.salesforce.com/secur/frontdoor.jsp?sid=<access_token>&retURL=<ret_url>
I always get the login page.
The same call done by using a session id (taken from a Firefox cookie) works.
In the documentation of frontdoor.jsp is written that an access_token can be passed if the connected abb has full or web scope included, but mine doesn't work... do you have any hint for this?