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

TECH 292 - Remove SupportedTypes Constraint #74

Merged
merged 14 commits into from
Aug 12, 2024

Conversation

TYRONEMICHAEL
Copy link
Contributor

@TYRONEMICHAEL TYRONEMICHAEL commented Aug 7, 2024

TECH-292 - Update civic canister to support civic pass

- Remove constraint of supported credential types
- Remove Credential Error
- Catch error and return empty credential so the user inspects the JWT in order to see if the credential exists instead of seeing an error when presenting the VC
- Only return credentials that match the credential request arguments

- Slight refactor to credential module
- Remove Credential Error
- Catch error and return empty credential so the user inspects the JWT in order to see if the credential exists instead of seeing an error when presenting the credential
Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
icp-civic-sign-frontend-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 12, 2024 4:07pm

…o TECH-292__update-icp-canister-support-civic-pass
…o TECH-292__update-icp-canister-support-civic-pass
["alumniOf", { Claim: alumniOfClaim }]
["tigoYhp9SpCDoCQmXGj2im5xa3mnjR1zuXrpCJ5ZRmi", { Boolean: true }],
["Status", { Text: "ACTIVE" }],
["expirationDate", { Number: 1000 + 365 * 24 * 60 * 60 * 1000 }]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect something relative here, e.g. currentData + constant but I guess this is just for demoing anyway?

@TYRONEMICHAEL TYRONEMICHAEL changed the title TECH 292 update icp canister support civic pass TECH 292 - Remove SupportedTypes Constraint Aug 9, 2024
src/civic_canister_frontend/src/App.tsx Outdated Show resolved Hide resolved
src/civic_canister_backend/src/credential.rs Outdated Show resolved Hide resolved
src/civic_canister_backend/src/credential.rs Outdated Show resolved Hide resolved
src/civic_canister_backend/src/credential.rs Outdated Show resolved Hide resolved
src/civic_canister_backend/src/credential.rs Outdated Show resolved Hide resolved
@dankelleher dankelleher merged commit 87b038c into develop Aug 12, 2024
4 checks passed
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