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

feat: credential detail page #133

Merged
merged 12 commits into from
Mar 1, 2024
Merged

feat: credential detail page #133

merged 12 commits into from
Mar 1, 2024

Conversation

phoebus-84
Copy link
Collaborator

No description provided.

Comment on lines 60 to 62
<ion-button on:click={stopScan} on:keydown={stopScan} aria-hidden fill="clear">
<ion-icon icon={close}></ion-icon>
</button>
</ion-button>
Copy link
Member

Choose a reason for hiding this comment

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

Why did we go back? Is something missing from the implementation on the components? Wouldn't it be better to implement it there instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Comment on lines 20 to 26
const serviceSchema = z.object({
id: z.string(),
relying_party: z.string().url(),
issuer: z.string().url(),
authorization_server: z.string().url()
});

Copy link
Member

Choose a reason for hiding this comment

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

<3

Comment on lines 68 to 73
//todo: validate service urls
if (type == 'service') {
return { result: 'ok', data: { type, service: parsedValue as Service } };
} else {
return { result: 'ok', data: { type, credential: parsedValue as Credential } };
}
Copy link
Member

Choose a reason for hiding this comment

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

This should come from the credential-issuer/.well-known

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can you explalin me better?

@puria puria marked this pull request as ready for review March 1, 2024 10:25
@puria puria enabled auto-merge (squash) March 1, 2024 11:05
@puria puria merged commit e3b1bdd into main Mar 1, 2024
2 checks passed
@puria puria deleted the credential_detail branch March 1, 2024 11:07
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.

2 participants