seant2781
03/22/2022, 6:48 PMrp_st
03/22/2022, 6:51 PMrp_st
03/22/2022, 6:51 PMrp_st
03/22/2022, 6:54 PMhttps://example.com
. It doesn't really matter in this case.rp_st
03/22/2022, 6:55 PMrp_st
03/22/2022, 6:56 PMseant2781
03/22/2022, 6:57 PMrp_st
03/22/2022, 6:58 PMrp_st
03/22/2022, 6:58 PMseant2781
03/22/2022, 6:59 PMrp_st
03/22/2022, 7:01 PMrp_st
03/22/2022, 7:02 PMseant2781
03/22/2022, 7:03 PMseant2781
03/22/2022, 7:03 PMseant2781
03/22/2022, 7:03 PMrp_st
03/22/2022, 7:04 PMrp_st
03/22/2022, 7:04 PMrp_st
03/22/2022, 7:09 PMseant2781
03/22/2022, 7:09 PMrp_st
03/22/2022, 7:10 PMseant2781
03/22/2022, 7:11 PMrp_st
03/22/2022, 7:11 PMrp_st
03/22/2022, 7:12 PMrp_st
03/22/2022, 7:12 PMrp_st
03/22/2022, 7:13 PMcreateNewSession
functionrp_st
03/22/2022, 7:15 PMcreateNewSession
function attaches session tokesn as cookies and sends it to the frontend.
The frontend then sends the access token to your API which can use the verifySession
function to verify the session.
If the access token expires, the frontend calls the refresh API (Exposed by the middleware you implemented above).
If you call the sign out function on the frontend via our SDK, it calls the sign out API exposed by the middleware as well.rp_st
03/22/2022, 7:15 PMseant2781
03/22/2022, 7:15 PMrp_st
03/22/2022, 7:15 PMseant2781
03/22/2022, 7:15 PMrp_st
03/22/2022, 7:16 PMrp_st
03/22/2022, 7:16 PMseant2781
03/22/2022, 7:23 PMrp_st
03/22/2022, 7:24 PMrp_st
03/22/2022, 7:24 PMrp_st
03/22/2022, 7:24 PMseant2781
03/22/2022, 7:24 PMrp_st
03/22/2022, 7:24 PMseant2781
03/22/2022, 7:25 PMseant2781
03/22/2022, 7:25 PMrp_st
03/22/2022, 7:25 PMseant2781
03/22/2022, 7:25 PMrp_st
03/22/2022, 7:25 PMrp_st
03/22/2022, 7:26 PMseant2781
03/22/2022, 7:26 PMrp_st
03/22/2022, 7:26 PMrp_st
03/22/2022, 7:26 PMrp_st
03/22/2022, 7:27 PMrp_st
03/22/2022, 7:27 PMseant2781
03/22/2022, 7:28 PMrp_st
03/22/2022, 7:28 PMrp_st
03/22/2022, 7:28 PMrp_st
03/22/2022, 7:29 PMrp_st
03/22/2022, 7:29 PMseant2781
03/22/2022, 7:30 PMrp_st
03/22/2022, 7:30 PMrp_st
03/22/2022, 7:31 PMseant2781
03/22/2022, 7:32 PMrp_st
03/22/2022, 7:32 PMrp_st
03/22/2022, 7:33 PM