-
Notifications
You must be signed in to change notification settings - Fork 603
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
captured attemptedTransition retry always fails #2287
Comments
Something else to note I am requiring authentication in the the application route beforeModel hook like so.
|
I cannot reproduce this. Would you be able to set up a reproduction app? Also be aware that the |
@arenoir just curious, are you using a custom authenticator? I'm wiring up to |
@sacarino, yes I am using a custom authenticator. This is a good bit of information. I haven't had much time to investigate but let me know if you get anywhere. |
Okay - at least in my case it's definitely an OAuth2 thing - a few other issues refer to it. Here's a Google OAuth2 one, but there's others. Found an interesting comment about overriding ESA's cookie, but that doesn't work in this case since the page reload wipes out the session. As a result, whatever you had manually set becomes the callback's route as soon as they hit it. It was nudge in a useful direction though... using Worth mentioning that I have a base route that all my other routes extend, to address @marcoow's point
and then in my callback's route, which does NOT extend
Hopefully that helps you solve your issue as well. |
Since upgrading to version 3.1 my application fails to retry the pre login captured transition.
The attemptedTransition is set in the session service but it always fails on retry.
Any ideas as to why all attemptedTransition fails?
I have hacked the handleAuthentication hook to transition to the captured named route but this is not a solution.
Test that was passing using version ember-simple-auth 3.0.
The text was updated successfully, but these errors were encountered: