-
Notifications
You must be signed in to change notification settings - Fork 0
Create Session
deh3nne edited this page Mar 1, 2021
·
1 revision
The user clicks the button "Create Session"
- Request to NextJS Api with information (sessionName, userName, userId)
- Information is also stored in the browser (local storage?)
- Request to Serverless Function to create a new session
- with information (sessionName, userName, userId)
- maybe creates a valid JWT token for server and client
- Serverless Function stores session in a database entry
- Creates a sessionId
- Return the sessionId to the client1