Currently VCI library is resolving (AuthorizationServerMetadataResolver) an OAuth server's metadata as CIAuthorizationServerMetadata, a typealias of nimbus' ReadOnlyAuthorizationServerMetadata.
CIAuthorizationServerMetadata is set as a property in CredentialOffer.
As ReadOnlyAuthorizationServerMetadata is not serializable this causes issues to clients of vci library when they need to serialize a resolved CredentialOffer.
Currently VCI library is resolving (
AuthorizationServerMetadataResolver) an OAuth server's metadata asCIAuthorizationServerMetadata, a typealias of nimbus'ReadOnlyAuthorizationServerMetadata.CIAuthorizationServerMetadatais set as a property in CredentialOffer.As
ReadOnlyAuthorizationServerMetadatais not serializable this causes issues to clients of vci library when they need to serialize a resolvedCredentialOffer.CIAuthorizationServerMetadataas a data class instead of a typealias ofReadOnlyAuthorizationServerMetadataof nimbus. Its proprties should align with those exposed byReadOnlyAuthorizationServerMetadatainterface.