Hello :wave: I am developing a blocking webhook to...
# general
c
Hello πŸ‘‹ I am developing a blocking webhook to prevent users from changing their usernames. It's working, but the UI is showing it as green instead of red. Any idea please ? this is the webhook response payload:
Copy code
{
  "messages": [
    {
      "instance_ptr": "#/traits/username",
      "messages": [
        {
          "id": 1337,
          "text": "This field is read-only.",
          "type": "conflict"
        }
      ]
    }
  ]
}
f
Hi! I've updated my Account Experience pages with custom colors and they didn`t impacted instantly. When I test them again a day later, they were there. Not sure if my issue is related to yours, but it seems like there is some latency in the UI live refreshal... could it be?
c
thank you for answering. I am self Hosting both kratos and the UI so I don't think it's the same issue here
πŸ™Œ 1
m
Hello @cold-scientist-93808 You mentioned you are self-hosting the UI, are you using ory elements or what kind of UI?
c
Hello @magnificent-energy-493 πŸ‘‹ I am using the official UI .
m
I see thanks for clarifying. You can open a feature request for this, sounds like this would be a good addition: https://github.com/ory/kratos-selfservice-ui-node/issues/new/choose we of course also accept PRs, I am not sure how complex this is though.
c
@magnificent-energy-493 I will be happy to help with some guidance. However, I can’t say if the issue is in the front end or in Kratos. I can contribute if it’s in Go, but I am not as familiar with TypeScript. Anyway, we need an expert to identify where the issue lies.
m
I agree. Maybe you can start with filling out the feature request form @cold-scientist-93808 - try to be as explicit as possible to avoid any assumptions. I havent looked into the code but my hunch is that it probably requires both front end and Kratos πŸ€”
c
Hello @magnificent-energy-493 πŸ‘‹ Here is the feature request https://github.com/ory/kratos-selfservice-ui-node/issues/347 Can you share it to the ones who can help me through it? and sorry for the delay Thank you πŸ™