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

Authentication Pattern #600

Open
Asher978 opened this issue Jun 19, 2021 · 1 comment
Open

Authentication Pattern #600

Asher978 opened this issue Jun 19, 2021 · 1 comment

Comments

@Asher978
Copy link

Hi @bertho-zero

I understand that this repo is not being maintained due to lack of time on your end. However I am sure many have and are still taking advantage of this great repo.

I have a simple question that needs a bit of explanation for the sake of my understanding and wanting to go ahead and update this repo for my own use.

Question I have is on Authentication. Once the user is logged in, what is causing the user to stay authenticated. My understanding is that the saved token and cookie causes the persist of the user. The issue I am having is that after updating all the @feathersjs/... packages, user can no longer stay logged in even though the cookie is still retained on the browser side.

As the App container fetches and dispatches loadAuth() it does not get the user back from the server. Only if a route is changed then the app fetches the user otherwise just refreshing the page makes the app lose the persisted state.

Any help will be appreciated ?

@bertho-zero
Copy link
Owner

Hi, and thank you !

This is an old version of feathers, I'm not sure I can help you as I don't use feathers authentication on the professional side yet.

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

2 participants