You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to use the Ory Kratos Frontend API to list sessions and manage them in my Next.JS frontend application.
I wanted to utilize the newly added token based pagination API, but found out that the frontend listMySessions API returned duplicate results, even when the pageToken value changed.
Preflight checklist
Ory Network Project
No response
Describe the bug
I have been trying to use the Ory Kratos Frontend API to list sessions and manage them in my Next.JS frontend application.
I wanted to utilize the newly added token based pagination API, but found out that the frontend listMySessions API returned duplicate results, even when the pageToken value changed.
kratos frontend API client initialization:
Im using react-query for data management on the client side
essentially, what is happening is when I call
and when I'm calling
I get the same results i.e. the same list of sessions when using both calls.
Reproducing the bug
https://github.com/ory/kratos/blob/master/quickstart-latest.yml
Relevant log output
No response
Relevant configuration
No response
Version
v1.1.0
On which operating system are you observing this issue?
Windows
In which environment are you deploying?
Docker Compose
Additional Context
No response
The text was updated successfully, but these errors were encountered: