You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@williamcruzme How can the Recommend solution be implemented. I am having the same situation as mentioned in the issue. Although setting persistence to true seems to solve the problem, do you think it is the best idea to store user permissions in localStorage. Also, I noticed that the localStorage is not cleared when the user logs out.
The text was updated successfully, but these errors were encountered:
eokwukwe
changed the title
Hi @N0SYS73M1SS4F3, thank you for your time.
Just asking for clarification and suggestion
Aug 1, 2021
Hello @williamcruzme
Solution
Set the permissions/roles when you log in (before redirect), and enable
persistent
feature:Recommend solution
Work with Nuxt.js, you set the permissions/roles on the server side.
Originally posted by @williamcruzme in #15 (comment)
@williamcruzme How can the Recommend solution be implemented. I am having the same situation as mentioned in the issue. Although setting persistence to
true
seems to solve the problem, do you think it is the best idea to store user permissions in localStorage. Also, I noticed that the localStorage is not cleared when the user logs out.The text was updated successfully, but these errors were encountered: