Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Phonegap + Windows 8: X-Frame-options #57

Description

@d00001

I have OAuth set up for portal users as shown here:

https://developer.salesforce.com/blogs/developer-relations/2013/02/oauth-for-portal-users.html

App works fine in iOS and Android but in Windows 8 I get this error:

APPHOST9613: The app couldn’t navigate to [url] because of this error: 401.

I tried using an iframe with the same url and I get the same error.

Some research suggest that this problem is related to X-Frame-options.

@metadaddy-sfdc

This is a sample response headers:

Cache-Control:no-cache, must-revalidate, max-age=0, no-store, private,s-maxage=0
Content-Type:text/html;charset=UTF-8
Date:Fri, 31 Oct 2014 17:34:30 GMT
org.eclipse.jetty.server.include.X-FRAME-OPTIONS:SAMEORIGIN
org.eclipse.jetty.server.include.X-XSS-Protection:0
P3P:CP="CUR OTR STA"
Pragma:no-cache

Transfer-Encoding:chunked
X-Powered-By:Salesforce.com ApexPages

Another theory is that the problem is cause because the redirect returns 401 as the error message show.

https://site.force.com/setup/secur/RemoteAccessAuthorizationPage.apexp

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions