Join Slack
Powered by
Does Kratos support server side events? E.g. for t...
# talk-kratos
r
red-machine-69654
07/26/2022, 12:13 PM
Does Kratos support server side events? E.g. for the “whoami”? Or is it planned, or should I raise an issue?
a
abundant-arm-31440
07/26/2022, 3:02 PM
I have a sample code for this. In my application: • web client sends a request to API server • API server checks the permission using the cookie coming from the client side
https://github.com/emrahcom/galaxy/blob/main/machines/eb-app-api/home/api/galaxy/lib/pri/kratos.ts
r
red-machine-69654
07/26/2022, 3:08 PM
I think I might do the same
red-machine-69654
07/26/2022, 3:09 PM
Very cool
red-machine-69654
07/26/2022, 3:09 PM
Thanks for sharing
4
Views
Open in Slack
Previous
Next