File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export class AccessTokenClient {
104104
105105 if ( credentialOfferRequest ?. supportedFlows . includes ( AuthzFlowType . PRE_AUTHORIZED_CODE_FLOW ) ) {
106106 this . assertAlphanumericPin ( opts . pinMetadata , pin ) ;
107- request . user_pin = pin ;
107+ request . tx_code = pin ;
108108
109109 request . grant_type = GrantTypes . PRE_AUTHORIZED_CODE ;
110110 // we actually know it is there because of the isPreAuthCode call
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ export interface AccessTokenRequest {
312312 'pre-authorized_code' : string ;
313313 redirect_uri ?: string ;
314314 scope ?: string ;
315- user_pin ?: string ; //pre draft 13
315+ user_pin ?: string ; //this is for v11, not required in v13 anymore
316316 tx_code ?: string ; //draft 13
317317 [ s : string ] : unknown ;
318318}
You can’t perform that action at this time.
0 commit comments