legolas89110609
12/04/2022, 11:37 AMrp_st
12/04/2022, 12:21 PMrp_st
12/04/2022, 12:23 PMrp_st
12/04/2022, 12:23 PMrp_st
12/04/2022, 12:24 PMrp_st
12/04/2022, 12:24 PMrp_st
12/04/2022, 12:25 PMrp_st
12/04/2022, 12:25 PMrp_st
12/04/2022, 12:29 PMlegolas89110609
12/04/2022, 2:03 PMlegolas89110609
12/04/2022, 2:37 PMrp_st
12/04/2022, 2:41 PMX
and putting Y in the access token payload so that you can switch to user Y later on if needed.rp_st
12/04/2022, 2:43 PMlegolas89110609
12/04/2022, 2:44 PMlegolas89110609
12/04/2022, 2:45 PMlegolas89110609
12/04/2022, 2:45 PMrp_st
12/04/2022, 2:46 PMawait Session.getSession(input.req, input.res)
legolas89110609
12/04/2022, 2:46 PMlegolas89110609
12/04/2022, 2:46 PMrp_st
12/04/2022, 2:46 PMinput.options.req
and input.options.res
legolas89110609
12/04/2022, 2:46 PMrp_st
12/04/2022, 2:47 PMlegolas89110609
12/04/2022, 2:47 PMrp_st
12/04/2022, 2:48 PMgetSession
function in the login API instead with input.options.req
and input.options.res
rp_st
12/04/2022, 2:48 PMinput.userContext.session = session
rp_st
12/04/2022, 2:48 PMinput.userContext.session
in the createNewSession
overriderp_st
12/04/2022, 2:48 PMrp_st
12/04/2022, 2:49 PMrp_st
12/04/2022, 2:49 PMawait getSession(input.userContext._default.request, input.res)
rp_st
12/04/2022, 2:49 PMlegolas89110609
12/04/2022, 2:49 PMrp_st
12/04/2022, 2:49 PMrp_st
12/04/2022, 2:50 PMrp_st
12/04/2022, 2:50 PMawait getSession(input.userContext._default.request, input.res, {sessionRequired: false})
legolas89110609
12/04/2022, 2:50 PMlegolas89110609
12/04/2022, 2:52 PMrp_st
12/04/2022, 2:52 PMlegolas89110609
12/04/2022, 2:52 PMlegolas89110609
12/04/2022, 2:53 PMrp_st
12/04/2022, 2:53 PMrid
header in itlegolas89110609
12/04/2022, 2:53 PMrp_st
12/04/2022, 2:53 PMinput.userContext._default.request
?legolas89110609
12/04/2022, 2:54 PMlegolas89110609
12/04/2022, 2:54 PMrp_st
12/04/2022, 2:54 PMrp_st
12/04/2022, 2:54 PMlegolas89110609
12/04/2022, 2:54 PMlegolas89110609
12/04/2022, 2:54 PMrp_st
12/04/2022, 2:55 PMrid
as thirdpartyemailpassword
rp_st
12/04/2022, 2:55 PMlegolas89110609
12/04/2022, 2:55 PMrp_st
12/04/2022, 2:55 PMlegolas89110609
12/04/2022, 2:55 PMlegolas89110609
12/04/2022, 2:56 PMlegolas89110609
12/04/2022, 2:56 PMrp_st
12/04/2022, 2:56 PMlegolas89110609
12/04/2022, 2:57 PMrp_st
12/04/2022, 2:58 PMgetSession
functionlegolas89110609
12/04/2022, 2:58 PMrp_st
12/04/2022, 2:58 PMgetSession
protects against CSRF using this rid
header.legolas89110609
12/04/2022, 2:58 PM