Skip to content
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

Sign in failing with ajax operation was aborted #771

Open
EWhite613 opened this issue Feb 22, 2023 · 2 comments
Open

Sign in failing with ajax operation was aborted #771

EWhite613 opened this issue Feb 22, 2023 · 2 comments

Comments

@EWhite613
Copy link

When attempting to sign in I get Could not sign you in: The ajax operation was aborted
and in the console I see

[Torii] Using an OAuth redirect that loads your Ember App is deprecated and will be
              removed in a future release, as doing so is a potential security vulnerability.
              Hide this message by setting `allowUnsafeRedirect: true` in your Torii configuration.

Tested on Brave(1.48.164) and Firefox Developer edition(104.0b3)

@bantic
Copy link

bantic commented Mar 11, 2023

That message is only a warning (despite being console.error), but (in my case at least) I saw the following additional (and fatal) errors show up right below it:

image

The problem appears to be a CORS issue:

Access to XMLHttpRequest at 'https://ember-twiddle.herokuapp.com/authenticate/793d8bf192b79448bf31'
  from origin 'https://ember-twiddle.com' has been blocked by
  CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

@Gaurav0
Copy link
Contributor

Gaurav0 commented Mar 11, 2023

The gatekeeper app that was running on heroku prob needs to be updated and reconfigured. I no longer have access. Ember Twiddle needs a new maintainer.

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

No branches or pull requests

3 participants