Introduction:
Background:
J
Problem Statement:
Key design problems:
...
User login in to his account and starts using application.
Parent’s token will be used for managed-use as well.
...
Change request: As part of https: //project-sunbird.atlassian.net/browse/SH-68 user should be able to switch and create profiles.
Below is data store in session
Expand | ||
---|---|---|
| ||
|
...
Expand | ||
---|---|---|
| ||
|
Pros:
Cons:
Solution 2:
...
Pros:
Cons:
Solution 3 :
...
Pros:
Only MUT stored in session.
Verification of request before switching of user addes extra security to existing swtich user flow.
Cons:
Exposing MUT token into front. Any one can see it and intercepts it and use it furthur.