#[Marketplace Medusa 1.7] create-user on admin is unauthorized after update

7 messages · Page 1 of 1 (latest)

rugged perch
#

It worked for me in 1.6 before without logging in to the Admin account (to get the session id I believe). Now it doesn't anymore after upgrading

:1 - - [16/Dec/2022:23:45:31 +0000] "POST /admin/create-user HTTP/1.1" 401 - "-" "PostmanRuntime/7.30.0"
query: SELECT "StagedJob"."id" AS "StagedJob_id", "StagedJob"."event_name" AS "StagedJob_event_name", "StagedJob"."data" AS "StagedJob_data" FROM "staged_job" "StagedJob" LIMIT 1000
#

The route is from the extender so I wonder if it's broken in the new version

silent oak
#

I ll look at your SS when i got back 💪

silent oak
#

Looks weird, nothing changed in that regard between the versions. When the route is applied should still works. Do you have a middleware which would be applied on all admin routes by any chance ?

rugged perch
#

hi @silent oak thanks for looking into it

#

I only have the middlewares as in the tutorial which are for admin only

#

the paths are specified for admin