You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In most case, we want to use vendure front with authorization using tokenMethod=bearer, and keep admin as session-cookie authentication.
Describe the solution you'd like
We can specify one or both, e.g. tokenMethod: ['cookie', 'bearer'] or maybe even an object so you can have different settings for the admin & shop APIs.
Describe alternatives you've considered
both support 'cookie', 'bearer' at the same time, or with set individual config for shop-api and admin-api
Additional context
once we want to redesign admin/* system, we want to write plugin with restfull api to proxy webpages, while we reload admin/* page it will automatically upload authorization tickets, because we want to verify permission for there webpages,
but for front we want to use bearer token because if we use next.js it will more flexiable.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In most case, we want to use vendure front with
authorization
using tokenMethod=bearer
, and keepadmin
assession-cookie
authentication.Describe the solution you'd like
We can specify one or both, e.g. tokenMethod: ['cookie', 'bearer'] or maybe even an object so you can have different settings for the admin & shop APIs.
Describe alternatives you've considered
shop-api
andadmin-api
Additional context
once we want to redesign
admin/*
system, we want to write plugin withrestfull
api to proxy webpages, while we reload admin/* page it will automatically uploadauthorization
tickets, because we want to verifypermission
for there webpages,but for
front
we want to usebearer
token because if we usenext.js
it will more flexiable.The text was updated successfully, but these errors were encountered: