Comments (3)
It has always been the case, the store auth middleware does not enforce the customer to be authenticated and lake it optional for most if the routes. I ve already answered the same type of issues. The requireAuth will only affect when the route will be registered, before or after the auth middleware in the core. To enforce it on the store route, you have to apply the https://github.com/medusajs/medusa/blob/master/packages/medusa/src/api/middlewares/require-customer-authentication.ts
On the other hand, I understand that I should change that. I ll create a pr to address that very soon 💪
from medusa-extender.
for reference #156
from medusa-extender.
available in the next relrease
from medusa-extender.
Related Issues (20)
- medusa develop command does not work with medusa-extender[BUG] HOT 3
- Update documentation for the new decorators
- [BUG] Middleware not working as expected for Loggedin User HOT 1
- Typo in documentation
- MetadataReader comprehensive error message HOT 5
- [BUG] Migrate command --show
- DOC: Add use case for the extender HOT 3
- [BUG] Multitenancy Config | Tenant Code Resolver HOT 3
- Fix documentation
- medusa-auth-plugin not working with 1.8.8 extender HOT 6
- Overwriting existing column of entity HOT 1
- Cors Issue - setting of cors address HOT 1
- [BUG] Medusa Server not starting after adding medusa-extender to existing project HOT 4
- [BUG] Middleware is not working HOT 1
- Compatible with Medusa 1.8? HOT 1
- [BUG] : Cannot run extender from the cloned server starter
- [BUG] Unable to Intsall extender on latest Medusa HOT 1
- Wow, when I saw this project, I felt excited. HOT 5
- Not working with medusa js 1.3.16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medusa-extender.