ember-twiddle icon indicating copy to clipboard operation
ember-twiddle copied to clipboard

Sign in failing with ajax operation was aborted

Open EWhite613 opened this issue 2 years ago • 2 comments

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)

EWhite613 avatar Feb 22 '23 17:02 EWhite613

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.

bantic avatar Mar 11 '23 16:03 bantic

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.

Gaurav0 avatar Mar 11 '23 18:03 Gaurav0