function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JoshGuiJoshGui 

Authentication from 3rd Party App with Oauth 2.0

I'm using the authentication method described by Chuck Mortimore at Dreamforce with the url from the client's browser:

https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<your_client_id>&redirect_uri=<your_redirect_uri> 

 

This is described also in the article below:

 

http://wiki.developerforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com

 

However, our external app is being placed into an iframe, and the login.salesforce.com page has restrictions on being placed in an iframe.  I understand why Salesforce wouldn't want their main login page to be placed in an iframe, but since we are building an app that simply uses it for authentication and data storage, this is unfortunate.  Does anyone have a solution?

 

I would think it would be better to offer a separate way of authenticating with Oauth, a different service that points at a different login page for external apps...