Giter Club home page Giter Club logo

Comments (10)

BobrImperator avatar BobrImperator commented on June 11, 2024 1

Hi 👋

What ember-data version do you use in your app?

We've had reports regarding similar issue that was related to ember-data 4.12.0 problems which were later fixed in 4.12.1. That being said ESA doesn't rely on ember-data itself and the issue is likely caused somewhere where user data is being fetched.

Please visit this thread #2533 as your issue seems very similar to that one.

Feel free to reach out if that doesn't help 👍

from ember-simple-auth.

nurmuhammadsiratseequent avatar nurmuhammadsiratseequent commented on June 11, 2024 1

Hi @gzurbach. No, I'm using localStorage with a custom authenticator. I'm also not using ember-cookies in my app.

from ember-simple-auth.

nurmuhammadsiratseequent avatar nurmuhammadsiratseequent commented on June 11, 2024

We are using ember-data version 4.11.3.

Thanks for your suggestions @BobrImperator. I'll see if updating ember-data will help.

from ember-simple-auth.

gzurbach avatar gzurbach commented on June 11, 2024

We are experiencing this issue as well.

Currently running:

from ember-simple-auth.

gzurbach avatar gzurbach commented on June 11, 2024

@nurmuhammadsiratseequent are you using the cookie store? and are you also using ember-simple-auth-token by any chance?

I wonder if this has anything to do with the release of [email protected] a few days ago: https://github.com/mainmatter/ember-cookies/releases

Edit: I tried to switch to LocalStorage and the same thing happens. I have no idea what's going on 🤷‍♂️

from ember-simple-auth.

khaled-s avatar khaled-s commented on June 11, 2024

I'm having the same problem, cookies based store
this problem causing fastboot server to crash
and getting this error

Error: Assertion Failed: calling set on destroyed object: <front@session:main::ember335>.isAuthenticated = true

and getting this error

  • ember-data: 4.11.3
  • ember-simple-auth: 6.0.0
  • ember-simple-auth-token: 5.3.2

from ember-simple-auth.

gzurbach avatar gzurbach commented on June 11, 2024

[Side note, not directly related with this issue but relevant to those using ember-simple-auth-token]

Things I have discovered while investigating: ember-simple-auth-token: 5.3.2 is not compatible with ember-simple-auth: 6.0.0. When installed together, ember-simple-auth-token will actually install, then load, its own version of ember-simple-auth in version 5.0.0. That's not ideal in itself. Add to this the fact that [email protected] and 6.0.0 rely on completely different version of ember-cookies and things can get really wacky.

It looks like ember-simple-auth-token is abandoned. I am considering writing my own custom authenticator and drop ember-simple-auth-token so that I can be on [email protected].

Unfortunately, it does not resolve the issue. Something is broken somewhere else.

from ember-simple-auth.

khaled-s avatar khaled-s commented on June 11, 2024

This problem is happening when using JWT authenticator with ember-fastboot
disabling ember-fasboot seems to solve the problem
also switching to local-storage store instead of cookie store solve the problem, but this will not work with ember-fastboot
I think restore function is not working probably in the server side

from ember-simple-auth.

nurmuhammadsiratseequent avatar nurmuhammadsiratseequent commented on June 11, 2024

@BobrImperator Upgrading to [email protected] does not work. I've tried with 4.12.5 as well.

from ember-simple-auth.

BobrImperator avatar BobrImperator commented on June 11, 2024

Could you please find out if you can reproduce this in a fresh project?

from ember-simple-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.