Skip to content

Commit

Permalink
feat(): Support for medusa latest storefron
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p committed Feb 12, 2024
1 parent bb501e7 commit 3a44446
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ function successActionHandlerFactory(
const url = new URL(redirectUrl);
url.searchParams.append('access_token', token);

// Add support for medusa latest store front
res.cookie('_medusa_jwt', token);

res.redirect(url.toString());
};
}

0 comments on commit 3a44446

Please sign in to comment.