absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

[FEATURE] Storing Session Information on Session Cookies #157

Closed rodneyosodo closed 4 months ago

rodneyosodo commented 5 months ago

Is there an existing feature request for this?

Is your feature request related to a problem? Please describe.

Storing session information on local storage is not ideal neither is session storage. During OAuth2.0 integration we are not able to write to local storage or browser storage hence we find the name of the logged in user as null

image

Describe the feature you are requesting, as well as the possible use case(s) for it.

Since we don't yet have session tokens it would be ideal to store such information on session cookies until further architectural change is made

Indicate the importance of this feature to you.

Anything else?

the following items should not be stored in local storage

because they are dependent on the session

References