Is there a kratos endpoint that gives me devices a...
# talk-kratos
r
Is there a kratos endpoint that gives me devices a user is logged into? Or maybe concurrent sessions?
s
r
🙏
There seems to be a weird bug where kratos responds with
null
. I saw it working briefly. I am using docker-compose locally. Restarted the setup a couple times (deleted volumes etc). This is Kratos 0.10.1. I‘ll see if I can find a trace tomorrow.
This is regarding
GET /sessions
s
might be a bug in the code
r
I can't find an error. I just deployed it online. It worked and then stopped working. But ory cloud responds with
[]
@steep-lamp-91158
So, had a colleague try this. He started with 80 sessions, next reload 27, then 7, and now 0.
This is ory cloud
Locally, still
null
Can anyone look into this?
s
Sure, but we need a way to reproduce this. Can you post the requests and responses? What is the setup?
r
Setup is ory cloud
I will dig up the request
We have a custom domain setup to point to orycloud, I am currently logged in and we do this request:
fetch('domain/sessions', {credentials: 'include'});
The response is
[]
according to the docs, I should get at least 1 session. E.g. the active one.
these are all the response headers, maybe the trace ID helps you find it?
@steep-lamp-91158 is there anything else you need? or should i dump the above into a github ticket?
s
github issue is a good idea 👍
thx
r