Using the login hook to fire a POST to a rest API,...
# ory-selfhosting
s
Using the login hook to fire a POST to a rest API, there seems to be no way to extract the SessionID that has just logged in. I was hoping that I could try and match the userID to a SessionID with the Device.IPAddress the same as the request_headers.Origin in the hook but this is not very reliable.