Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/manager/me #11404

Closed
1 of 2 tasks
MattEzekiel opened this issue Feb 11, 2025 · 2 comments
Closed
1 of 2 tasks

/manager/me #11404

MattEzekiel opened this issue Feb 11, 2025 · 2 comments

Comments

@MattEzekiel
Copy link

What Medusa version and documentation are you using?

v2

Preliminary Checks

Issue Summary

Following the documentation the token that I recive on /auth/manager/emailpass gives me unathorize message, but the previous steps are all ok

How can this issue be resolved?

...

Are you interested in working on this issue?

  • I would like to fix this issue
@shahednasser
Copy link
Member

Hi @MattEzekiel can you share exactly how you're retrieving the token, then passing to /manager/me?

@MattEzekiel
Copy link
Author

Hi @shahednasser,

I found the issue—it was a mistake on my end. I was calling the wrong endpoint. I had created a client instead of a manager, so I was hitting /auth/manager/emailpass instead of /auth/client/emailpass. Interestingly, even though I hadn’t set up a manager route, it was still returning a token.

I’m closing this issue now.

Thanks for reaching out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants