poor man's AuthBasic/BearerToken in plumber

Hi there,

while being unpractical to set up some nginx->plumber environment in docker I try to set up some header-based auth via a filter function. Are there any examples on how to access the request data (especially the headers)?!

Yours,
A.

Well,

did dive into the sources/test from plumber and some of the posts (this: Trying to pass on RStudio connect API key using plumber ) got me the right direction to use

req$HTTP_AUTHORIZATION

as the desired.

Yours,
A.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.