square-account-46211
06/07/2023, 9:21 AMuseSession
not being updated (only when refreshing browser window triggers update)?great-diamond-35515
06/07/2023, 9:27 AMsquare-account-46211
06/07/2023, 9:34 AMsquare-account-46211
06/07/2023, 9:50 AMgreat-diamond-35515
06/07/2023, 9:56 AMDSR
under local storage/cookie? (Because I donโt see it is sent)
3. did you change the descope project settings for token response method? if so - how is it configured? (see image)
in general - I am curious about how Descope is used in the app, fyi there is a next sample app that uses descope here:: https://github.com/descope-sample-apps/next-js-sample-appsquare-account-46211
06/07/2023, 10:11 AMDSR
3. Default settings, cookie in bodygreat-diamond-35515
06/07/2023, 10:13 AMsquare-account-46211
06/07/2023, 10:20 AMsquare-account-46211
06/07/2023, 10:23 AMgreat-diamond-35515
06/07/2023, 10:23 AMsquare-account-46211
06/07/2023, 10:23 AMsquare-account-46211
06/07/2023, 10:24 AMgreat-diamond-35515
06/07/2023, 10:25 AMgreat-diamond-35515
06/07/2023, 12:11 PMuseSession
is used inside the login page etc?square-account-46211
06/07/2023, 12:53 PMsquare-account-46211
06/07/2023, 12:53 PMsquare-account-46211
06/07/2023, 12:54 PMconst { isAuthenticated, isSessionLoading } = useSession()
inside login.js
doesn't get triggered when you navigate from some other page it. But when you go to it directly or refresh works as expectedgreat-diamond-35515
06/07/2023, 3:37 PMgreat-diamond-35515
06/08/2023, 8:02 AMsquare-account-46211
06/08/2023, 8:03 AMgreat-diamond-35515
06/08/2023, 10:54 AMuseSession
hook when it was used across multiple pages
thanks for the feedback!
if any issue arise let me know ofcsquare-account-46211
06/08/2023, 11:23 AMsquare-account-46211
06/08/2023, 11:24 AMgreat-diamond-35515
06/08/2023, 12:49 PM