Hi all. I am trying to setup a phone number verifi...
# talk-kratos
w
Hi all. I am trying to setup a phone number verified identity. Since 0.10.1 that should be implemented I guess? The trait is
Copy code
"phone": {
          "title": "Phone",
          "type": "string",
          "format": "tel",
          "<http://ory.sh/kratos|ory.sh/kratos>": {
            "credentials": {
              "password": {
                "identifier": true
              }
            },
            "verification": {
              "via": "phone"
            }
          }
        },
I already configured the sms courier. When I try to register by self-service I get an 500 error, saying:
"received unexpected via type: phone"
Has anyone successfully setup a phone number verification?
l
it's bugged at the moment, I'm working on a local fix but I didn't push a PR yet because I need to add a new model for sms verification, but I hope to push this PR this week
w
Thanks a lot. Looking forward. I am going to dig deeper into golang so I can eventually help sometime.
b
@loud-spoon-23770 Do you need any help with this? Do you mind sharing the code you are working on? 🙏🏼
l
it looks OK apparently, but I need to add some e2e test and it could take a while, I asked @high-optician-2097 for more information, I'll see when he answer
b
Ah I see ok. I will take a look at it. Thank you for sharing the link!
h
thank you for the ping, forgot ^^
🙇‍♂️ 1
gratitude thank you 1
done
👀 1
l
thank you for your answer, I'll try to make it work !