diff --git a/src/WalletFramework.Oid4Vc/Oid4Vci/Implementations/Oid4VciClientService.cs b/src/WalletFramework.Oid4Vc/Oid4Vci/Implementations/Oid4VciClientService.cs index cd0235ff..71fbe8c9 100644 --- a/src/WalletFramework.Oid4Vc/Oid4Vci/Implementations/Oid4VciClientService.cs +++ b/src/WalletFramework.Oid4Vc/Oid4Vci/Implementations/Oid4VciClientService.cs @@ -149,7 +149,7 @@ from issState in code.IssuerState var authServerMetadata = await FetchAuthorizationServerMetadataAsync(issuerMetadata, offer.CredentialOffer); var authorizationRequestUri = authServerMetadata.PushedAuthorizationRequestEndpoint.IsNullOrEmpty() - ? new Uri(authServerMetadata.AuthorizationEndpoint + "?" + vciAuthorizationRequest.ToQueryString()) + ? new Uri(authServerMetadata.AuthorizationEndpoint + vciAuthorizationRequest.ToQueryString()) : await GetRequestUriUsingPushedAuthorizationRequest(authServerMetadata, vciAuthorizationRequest); var authorizationData = new AuthorizationData( @@ -211,7 +211,7 @@ public async Task InitiateAuthFlow(Uri uri, ClientOptions clientOptions, Op null); var authorizationRequestUri = authServerMetadata.PushedAuthorizationRequestEndpoint.IsNullOrEmpty() - ? new Uri(authServerMetadata.AuthorizationEndpoint + "?" + vciAuthorizationRequest.ToQueryString()) + ? new Uri(authServerMetadata.AuthorizationEndpoint + vciAuthorizationRequest.ToQueryString()) : await GetRequestUriUsingPushedAuthorizationRequest(authServerMetadata, vciAuthorizationRequest); //TODO: Select multiple configurationIds