This PR enables the first iteration of JWT-based authorization to scrape endpoints, via a new middleware.
I'll skip most the usual PR info here in favor of linking to the documentation updates that step through the process of using authorization and details about how authorization is granted.
Steps to Test
To test this PR, first follow the steps in the docs, and then issue a request like this:
This PR enables the first iteration of JWT-based authorization to
scrape
endpoints, via a new middleware.I'll skip most the usual PR info here in favor of linking to the documentation updates that step through the process of using authorization and details about how authorization is granted.
Steps to Test
To test this PR, first follow the steps in the docs, and then issue a request like this:
Also, try it without a token or with a bad token once you've enabled auth.