Skip to content

Set AllowFileAccessFromFileURLs for AuthenticationActivity's webview#14

Open
oelhirai wants to merge 1 commit intomasterfrom
feature/authenticationfix
Open

Set AllowFileAccessFromFileURLs for AuthenticationActivity's webview#14
oelhirai wants to merge 1 commit intomasterfrom
feature/authenticationfix

Conversation

@oelhirai
Copy link
Contributor

The pmapi protocol was not allowed to be used within the Authentication webview.

Setting setAllowUniversalAccessFromFileURLs on the webview sets the Access-Control-Allow-Origin header (can no longer be null, enforced by recent versions of Chrome) on responses allowing the usage of the custom pmapi scheme.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants