Hey all, I have a question regarding the self-serv...
# ory-network
b
Hey all, I have a question regarding the self-service UI: Is it possible to add links to the description of a trait? I'd like to use a trait like this in my identity schema:
Copy code
"tos": {
          "type": "boolean",
          "title": "I accept the [Terms of Service](<https://example.com/link-to-terms>) and Privacy Policy"
        }
To anyone reading this later: I found a discussion about it and apparently Markdown support for titles is being thought about. https://github.com/ory/network/discussions/97 https://github.com/ory/kratos/issues/2522
h
Thank you for the question! We do not have this capability built in currently. We were scared at the time what this would mean for i18n. But we will need to address this sooner or later.
What would your favorite solution look like, and how problematic is that this currently doesn’t work?
b
My favorite solution would be like this
Copy code
"tos": {
          "type": "boolean",
          "title": "I accept the [Terms of Service](<https://example.com/link-to-terms>) and Privacy Policy"
        }
Then I could add the "tos" field to "required", and have terms and privacy policy agreed to as part of sign-up. Regarding i18n I believe this should still work? Regarding my work right now it's not a blocker, I'm working on enterprise software so we have these agreements separately, but in a few weeks I would like to open up the service for self-service for B2C and B2B customers, and in that case it would be a lot of work to deploy a post-signup flow that captures these agreements. I would very much appreciate if Ory had this capability.
h
fyi @fast-lunch-54279
👀 1
❤️ 1