File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,12 @@ const parseTokenResponseHttpOnly = async (
111111 * HttpOnly session cookie response.
112112 */
113113const getAccessTokenHttpOnly = async (
114- slasClient : ShopperLogin < { shortCode : string ; organizationId : string ; clientId : string ; siteId : string } > ,
114+ slasClient : ShopperLogin < {
115+ shortCode : string ;
116+ organizationId : string ;
117+ clientId : string ;
118+ siteId : string ;
119+ } > ,
115120 opts : Parameters < typeof slasClient . getAccessToken > [ 0 ]
116121) : Promise < TokenResponse > => {
117122 const response = await slasClient . getAccessToken ( opts , true ) ;
@@ -624,7 +629,10 @@ export async function loginRegisteredUserB2C(options: {
624629 } ,
625630 } ;
626631
627- const response = await slasClientCopy . authenticateCustomer ( authCustomerOpts , true ) ;
632+ const response = await slasClientCopy . authenticateCustomer (
633+ authCustomerOpts ,
634+ true
635+ ) ;
628636 const redirectUrlString = response . headers ?. get ( 'location' ) || response . url ;
629637 const redirectUrl = new URL ( redirectUrlString ) ;
630638 const searchParams = Object . fromEntries ( redirectUrl . searchParams . entries ( ) ) ;
You can’t perform that action at this time.
0 commit comments