There we go! ;) > On Rab. II 6, 1442 AH, at 17:05, Gustaf Neumann <neum...@wu.ac.at> wrote: > > Dear Maksym, > > [ns_conn auth] handles Digest authentication (i've never used it), but > "Bearer" is not handled. > The fields in the "Authorization" request header field are not always > structured the same way, > so NaviServer tries it interprete it based on the first word. The known types > are enumerated > in the C code. > > I've added a sensible result for the "Bearer" Authorization to bitbucket. > > all the best -g > > > > > > On 21.11.20 17:59, Maksym Zinchenko wrote: >> Hello, hope you are doing well. >> I have a little question. Maybe a bug, would be so kind to help me out. >> According to documentation [ns_conn auth] should return all authorization >> headers as a ns_set. >> It works fine when using "Basic Authentication scheme", i've seen in the >> source code it should work with "Digest" >> But when im trying to use "Bearer Authentication scheme" or "Custom" it >> returns empty ns_set, but i can see Authentication part in [ns_conn headers]. >> >> P.S. >> Im using https://reqbin.com/ <https://reqbin.com/> to test my API request. >> >> Thank you >> >> >> >> _______________________________________________ >> naviserver-devel mailing list >> naviserver-devel@lists.sourceforge.net >> <mailto:naviserver-devel@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> <https://lists.sourceforge.net/lists/listinfo/naviserver-devel> > _______________________________________________ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel
_______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel