Skip to content

Conversation

@VishnuSanal
Copy link
Member

Fixes #1416

  • Tests pass + manually tested
  • Appropriate changes to README are included in PR

issue: no request for Utopia Naturalization Certificate currently - wip

@VishnuSanal
Copy link
Member Author

@davidz25 I have hidden the "all" request from the web verifier, but Utopia Naturalization Certificate only has an "all" request. how to fix this? what are your thoughts on adding the following request (I am not sure whether this matches the spec though)? thanks!

.addSampleRequest(
                id = "given_name",
                displayName = "Given Names",
                mdocDataElements = mapOf(
                    NAMESPACE to mapOf(
                        "given_name" to false,
                    )
                ),
                jsonClaims = listOf("given_name")
            )
            .addSampleRequest(
                id = "birth_date",
                displayName = "Date of Birth",
                mdocDataElements = mapOf(
                    NAMESPACE to mapOf(
                        "birth_date" to false,
                    )
                ),
                jsonClaims = listOf("birth_date")
            )
            .addSampleRequest(
                id = "naturalization_date",
                displayName = "Date of Naturalization",
                mdocDataElements = mapOf(
                    NAMESPACE to mapOf(
                        "naturalization_date" to false,
                    )
                ),
                jsonClaims = listOf("naturalization_date")
            )
            .addSampleRequest(
                id = "mandatory",
                displayName = "Mandatory Data Elements",
                mdocDataElements = mapOf(
                    NAMESPACE to mapOf(
                        "given_name" to false,
                        "birth_date" to false,
                        "naturalization_date" to false,
                    )
                ),
                jsonClaims = listOf(
                    "given_name",
                    "birth_date",
                    "naturalization_date"
                )
            )

@VishnuSanal
Copy link
Member Author

discussed over call - david thinks it is fine to leave all data elements as is & including all the elements during provisioning will be a good fix for this (we can handle this when we move from the in app generation of credentials to provisioning)

@VishnuSanal VishnuSanal closed this Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"all data elements" request doesn't work anymore on the web verifier

1 participant