Repository navigation
Let users verify their email address and mobile number from their account - #39
PasinduYeshan wants to merge 2 commits into
Conversation
…ount Signed-off-by: Pasindu Yeshan <pasinduyeshan98@gmail.com>
Walkthrough
Merge Risk:
|
🔀 Cross-SDK feature parity, ports raisedThis pull request is labelled Ports (DO NOT EDIT)
3 of 3 sibling SDKs accounted for. Every sibling SDK is accounted for. The contract is in the SDK development specification. |
Signed-off-by: Pasindu Yeshan <pasinduyeshan98@gmail.com>
|
@coderabbitai review. |
|
✅ Action performed
|
|
iOS verification workaround: The existing iOS SDK sign-in paths have two issues:
For verification only, I temporarily added a Proof sign-in button to the Playground to complete the authorization code + PKCE flow and store valid tokens. The verification feature was then tested against the unchanged SDK. The workaround was removed and is not included in this PR. iOS Verification Screenshots
|




Purpose
Lets a signed-in user verify their own email address or mobile number from their account, using the server's
SELF_SERVICEattribute verification flow (thunder-id/thunderid#6050).verifyAttributestarts the flow by handle (defaultdefault-self-attribute-verification-flow) with the user's token, and a payload variant continues it. A refused step surfaces as a verification error.UserProfileexposesverifiedAttributesfrom/users/me.VerifyAttributeandBaseVerifyAttributerender each step from the flow response, with a custom render throughcontent.UserProfileshows each contact's verification status and offers Verify for an unverified one, including right after the user changes it.Approach
Follows the specification in thunder-id/thunderid#5905 and matches the JavaScript port (thunder-id/javascript-sdks#145). Verification posts to
/flow/executethrough the shared HTTP client, like the other flows. A flow is started once per showing, since a start sends a message; overlapping submits are ignored; failures show a translated generic message.Related Issues
Related PRs
Checklist
breaking changelabel added.parity/prs-raisedorparity/prs-not-neededadded.parity/prs-raised, the port links are posted as a reply on the parity check's comment.SDK parity
Security checks
🤖 Generated with Claude Code
Summary by CodeRabbit