How to configure path and ignore in below case?
taylorren opened this issue · 1 comments
taylorren commented
Hi,
I just installed this middleware and would like to seek your support on configuring path
and ignore
in such circumstances.
I am using Slim.
http://api/
will direct to my API doc, no authenticationhttp://api/hello
will prompt some explanation, no authentication- All others, in the form of
http://api/a/b
orhttp://api/a/b/c
, etc are the API invokation, need authentication.a
,b
,c
above will be different for various API calls.
Thanks!
taylorren commented
Managed to work around this.
ignore
must be working with path
. Now my configuration goes like this:
'path'=>"/",
"ignore"=>['/hello','/doc'],
I sacrificed http://api
to be redirected. Still not fully satisfied.