Skip to content

Why do i keep getting 401 Unauthorized error when trying to check if customer exist? #2715

Answered by pKorsholm
HackHead asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @The-Solomon

Thanks for reporting the issue 😄 it's a bug and not your configuration that's wrong

This was an issue caused by the wrong auth-middleware was used and the issue has been addressed in a recent pr. The fix will be released with the next update. Here's the PR for the fix: #2687

For now you should be able to use GET /store/customers/me for the same functionality.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HackHead
Comment options

Answer selected by srindom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants