Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the optional name for ID providers when present #470

Merged
merged 2 commits into from
May 31, 2024

Conversation

limemloh
Copy link
Contributor

@limemloh limemloh commented May 29, 2024

Purpose

Since we soon will have two entries for the same ID provider (one for individuals and one for companies) we need to be able to show different names for these two.
Currently, we display ipDescription.name which needs to match the name on chain, so this can't be tweaked.

Changes

  • Use metadata.display when present, otherwise fallback to the ipDescription.name.
  • Use the metadata.issuanceStart as key in the list of ID providers.

@limemloh limemloh merged commit f7533bb into main May 31, 2024
7 checks passed
@limemloh limemloh deleted the support-idp-display branch May 31, 2024 06:54
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.

3 participants