-
Notifications
You must be signed in to change notification settings - Fork 392
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
It's could be very helpful to add a persist store way #22
Comments
So I guess the problem here is saving the auth tokens or any credentials right? Normally the client libs you are using handles that. Are you doing the auth flow manually without any 3rd party lib? Even then redux-persist isn't the solution in my opinion. You have to create a way to store them in local storage (of course securely) which that auth libs are doing very nicely. I suggest you don't reinvent the wheel here and use a lib. Auth is a very big subject and there are dozens of ways and libs to do that. I have used AWS Cognito in many projects and it works super smooth and very easy. You don't deal with tokens etc... Boilerplate cannot be customized for such cases. Its very user-specific. You can try redux-persist for sure but I'm sure there would be an easier way than that for saving tokens. I'm soon gonna create another repo for |
hey. |
How can I with this amazing boilerplate, use a authentification persist way my token?
Maybe add a feature like redux-persist ?
In my case, I need to persist my token in order to have a authentication system, routing persistence, maybe I'm not aware of a other way with the actual stack, but when i search "persist" in your documentation, I think no
Please let me know if you have any recommendation about this.
The text was updated successfully, but these errors were encountered: