Medusa v2 auth: session in DB #8637
Deroswent
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are currently only two authorization options available: JWT and sessions in Cookies. Both of these options store session data on the client (and in Memory/Redis on server side) and do not allow to manage / revoke sessions in any way. It is also not possible to extend the session validity time.
Are there any ways in medusa v2 to store sessions in the database? And if not - are there plans to add such important functionality?
Second problem: it is impossible to extend the session validity string. We need some API endpoint that would extend the validity period of the session (or replace the current session with a new one) by accessing it and transferring the active session data to it. In background of course.
Beta Was this translation helpful? Give feedback.
All reactions