-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
<ion-button on:click={stopScan} on:keydown={stopScan} aria-hidden fill="clear"> | ||
<ion-icon icon={close}></ion-icon> | ||
</button> | ||
</ion-button> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const serviceSchema = z.object({ | ||
id: z.string(), | ||
relying_party: z.string().url(), | ||
issuer: z.string().url(), | ||
authorization_server: z.string().url() | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3
//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 } }; | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
No description provided.