Comments (4)
I got that same issues! even if I use JWT token as Authorization Bearer "jwt_token" for creating a product or any kind of authorization things that's related to vendors. not working! it's saying {message:"Unauthorized"}
from medusa.
I now understand the use of the auth_identify table. However, when the create admin workflow is called:
await createVendorAdminWorkflow(req.scope)
.run({
input: {
admin: {
...admin,
vendor_id: vendor[0].id,
},
authIdentityId: req.auth_context.auth_identity_id,
},
})
auth_identity_id is null.
An error is thrown but still the vendor is added to the database (the vendor_admin is not)
from medusa.
Hey all, we currently have a bit unexpected behavior, where if an auth identity doesn't exist we try to create it, even if you go through the login page. We will be cleaning the UX around this very soon.
from medusa.
The auth APIs changed in #8683. See PR description.
from medusa.
Related Issues (20)
- Bug: Amount sent to stripe vs displayed in summary page HOT 1
- Shipping Option Price Mismatch Bug in updateShippingOptionsWorkflow HOT 1
- [UI] DropdownMenu content not scrollable
- Authenticated sessions shared between separate instances of JS client
- admin not showing routes and widgets
- Medusa v2 Docs: Issue in 4.2.2. Service Factory - Medusa v2 Docs HOT 1
- npm install package version not found HOT 1
- Fix URL in getPublicOas Function to Correct API Spec Download Path @medusajs/medusa-oas-cli HOT 2
- Single "belongsTo" causes error in digital products example HOT 6
- Issue in Medusa V2 Learning Resources - Unit Price cannot be added during Cart Creation but document says so HOT 3
- Migration failes with exit code 0 HOT 4
- Duplicate customers HOT 2
- Stripe Payments not working HOT 4
- Malformed syntax. 2.0.6-preview HOT 4
- Server running in worker mode doesn't have health HOT 2
- Stripe payments - 'intent' must be a string but got undefined HOT 1
- bug: Promotions - Buy X get Y HOT 12
- Medusa Learning Resources: Issue in B2B Recipe - Medusa Learning Resources
- Incorrect doc link
- ui package breakpoint inconsistency
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.