Description
In a different browser or device, when already logged in, after refreshing the session, after a page reload for example, needs to get the user data again and update the current context. If the user changed his data and left an open session in a different device, the data will be updated only if the user sign out then sign in back.
Acceptance Criteria
- After calling
user-sessions/refresh API, call an endpoint to get the user data.
- This might require a new endpoint
/me for the current user.
- No build errors
- All test passes
Description
In a different browser or device, when already logged in, after refreshing the session, after a page reload for example, needs to get the user data again and update the current context. If the user changed his data and left an open session in a different device, the data will be updated only if the user sign out then sign in back.
Acceptance Criteria
user-sessions/refreshAPI, call an endpoint to get the user data./mefor the current user.