You need to sign in to do that
Don't have an account?
jonathan.wiesel
Login through frontdoor.jsp using connected app token results in chatter post via connected app
I'm building a desktop application that let users login to their org and extract data from certain objects for later use.
I created a Connected app (let's call it "My App") in a developer org.
My desktop application login is based on the "Web Server OAuth Flow", so the first time the user uses the application he is redirected to a Salesforce login page so he can authorize my connected app, in the callback I obtain an access and a refresh token for later use on requesting data from the org on behalf of the user.
All normal until here.
My problem comes when I wanted to launch a window to the connected org from my desktop application.
At first I saw this http://docs.releasenotes.salesforce.com/en-us/winter14/release-notes/security_frontdoorjsp.htm
So from my desktop application I open a browser window pointing to
Using the access_token I have on my desktop app. The user gets successfully logged in.
However when he creates a Chatter post or comment, the message footer that contains the message date says something like "Today at 16:00 via My App". The same kind of message when you post to Chatter from Chatter Desktop or Salesforce1 mobile.
I just want to offer an easy way to access the org from the desktop application, I don't want the following actions to be tied to the connected app authorized, any ideas?
I created a Connected app (let's call it "My App") in a developer org.
My desktop application login is based on the "Web Server OAuth Flow", so the first time the user uses the application he is redirected to a Salesforce login page so he can authorize my connected app, in the callback I obtain an access and a refresh token for later use on requesting data from the org on behalf of the user.
All normal until here.
My problem comes when I wanted to launch a window to the connected org from my desktop application.
At first I saw this http://docs.releasenotes.salesforce.com/en-us/winter14/release-notes/security_frontdoorjsp.htm
So from my desktop application I open a browser window pointing to
https://instance.salesforce.com/secur/frontdoor.jsp?sid=access_token
Using the access_token I have on my desktop app. The user gets successfully logged in.
However when he creates a Chatter post or comment, the message footer that contains the message date says something like "Today at 16:00 via My App". The same kind of message when you post to Chatter from Chatter Desktop or Salesforce1 mobile.
I just want to offer an easy way to access the org from the desktop application, I don't want the following actions to be tied to the connected app authorized, any ideas?