Thank you. Does anybody have by chance an example...
# ory-network
b
Thank you. Does anybody have by chance an example of how to integrate with “Segment”? 🙂 https://www.ory.sh/docs/kratos/guides/integration-with-other-systems-using-web-hooks
h
◦ hook: web_hook ◦ config: ◦ response: ◦ ignore: true ◦ auth: ◦ type: "basic_auth" ◦ config: ◦ user: "{{ .WebHookSegmentWriteKey }}" ◦ password: "" ◦ url: "https://api.segment.io/v1/identify" ◦ method: POST ◦ body: "{{ .WebHookSegmentBodyURL }}" ◦
sorry for the shit formatting im on my phone
😂 2
Copy code
function(ctx)
    {
userId: ctx.identity.id, event: "Sign In", }
b
Thank you!! You are truely a hacker if you’ve managed to do it from your phone 😄 🌻
h
^^
t
hahaha did you seriously type that yaml on your phone? 😂
legend
the choice to use yaml over json already paying off big time
h
lol
b
a disadvantage of the yaml though is that I can’t patch it directly on my cloud config… I need to turn it into json first
h
we support both - yaml and json
❤️ 1