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
I red the Question: authentication question #931 and it's really helpfull
I tried it and it works as you said, both auth mechanism are applied.
But what I want to achieve is a bit different.
I want all /api* routes to get authenticate with Bearer
But for one subroute (/api/route1/item1 for example), I would like to add basic auth as an alternative, but do not want both auth mechanism to be applied/required. Is it doable with Pode?
Thanks
The text was updated successfully, but these errors were encountered:
So basically either auth X or auth Y, and if one succeeds invoke the route? That sounds like #588 😄
At the moment it's not possible to have 2 authentication methods in a or scenario - unless you write a custom auth scheme for it. The idea behind #588 is to make this scenario possible.
Hi,
I red the Question: authentication question #931 and it's really helpfull
I tried it and it works as you said, both auth mechanism are applied.
But what I want to achieve is a bit different.
I want all /api* routes to get authenticate with Bearer
But for one subroute (/api/route1/item1 for example), I would like to add basic auth as an alternative, but do not want both auth mechanism to be applied/required. Is it doable with Pode?
Thanks
The text was updated successfully, but these errors were encountered: