Skip to content

Twitter login fails because 'unsafe-eval' is not an allowed source of script #1143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 of 4 tasks
shafeekghaseel opened this issue Nov 16, 2021 · 1 comment
Closed
3 of 4 tasks
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@shafeekghaseel
Copy link

shafeekghaseel commented Nov 16, 2021

New Issue Checklist

Issue Description

java.lang.RuntimeException: Error in evaluationEvaluation: status: 13 value: {message=Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src https://abs.twimg.com https://abs-0.twimg.com https://twitter.com https://mobile.twitter.com".
} hasMessage: true message: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src https://abs.twimg.com https://abs-0.twimg.com https://twitter.com https://mobile.twitter.com".

Steps to reproduce

Actual Outcome

Expected Outcome

Environment

Parse Android SDK

  • SDK version: 2.0.5
  • Operating system version: Android 9

Server

  • Parse Server version: v3.6.0
  • Operating system: FILL_THIS_OUT
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): FILL_THIS_OUT

Database

  • System (MongoDB or Postgres): FILL_THIS_OUT
  • Database version: FILL_THIS_OUT
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): FILL_THIS_OUT

Logs

@mtrezza mtrezza changed the title Twitter login : Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive Twitter login fails because 'unsafe-eval' is not an allowed source of script Nov 16, 2021
@parse-github-assistant
Copy link

parse-github-assistant bot commented Nov 16, 2021

Thanks for opening this issue!

  • ❌ Please check all required checkboxes at the top, otherwise your issue will be closed.

  • ⚠️ Remember that a security vulnerability must only be reported confidentially, see our Security Policy. If you are not sure whether the issue is a security vulnerability, the safest way is to treat it as such and submit it confidentially to us for evaluation.

@mtrezza mtrezza added state:needs-investigation type:bug Impaired feature or lacking behavior that is likely assumed labels Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

3 participants