File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/WalletFramework.Oid4Vc/Oid4Vp/Models Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ namespace WalletFramework.Oid4Vc.Oid4Vp.Models;
12
12
public record AuthorizationRequest
13
13
{
14
14
private const string DirectPost = "direct_post" ;
15
+ private const string DirectPostJwt = "direct_post.jwt" ;
15
16
16
17
private const string VpToken = "vp_token" ;
17
18
@@ -130,7 +131,7 @@ private static bool IsHaipConform(JObject authorizationRequestJson)
130
131
131
132
return
132
133
responseType == VpToken
133
- && responseMode == DirectPost
134
+ && responseMode == DirectPost || responseMode == DirectPostJwt
134
135
&& ! string . IsNullOrEmpty ( responseUri )
135
136
&& redirectUri is null
136
137
&& ( clientIdScheme is X509SanDnsScheme or VerifierAttestationScheme
@@ -169,4 +170,4 @@ internal static AuthorizationRequest WithClientMetadata(
169
170
this AuthorizationRequest authorizationRequest ,
170
171
ClientMetadata ? clientMetadata )
171
172
=> authorizationRequest with { ClientMetadata = clientMetadata } ;
172
- }
173
+ }
You can’t perform that action at this time.
0 commit comments