Description
Request for documentation
From pull request qgis/QGIS#45452
Author: @Cumminsc9
QGIS version: 3.24 (Feature)
Add new authentication method that supports HTTP headers
PR Description:
Description
This intends to add a new authentication method that supports a custom HTTP header.
For example
An WMS supplies an API key that is to be used in a HTTP header with the header key being X-API-KEY
and the header value being a string, without this authentication method we are unable to authenticate against the WMS endpoint.
The first screenshot shows a list of all authentication method, which includes the new APIHeader authentication method plugin as a possible authentication method for WMS only currently.
Adding a new authentication method for the API Header is the same flow by clicking on the + Icon and selecting "API Header" from the authentication options. Once selected you can enter values into the two present input fields, with the Header key being a required field.
(the header value string is a random string and not a real token)
As it is based on the authentication method plugins, the flow remains the same, with clearing the forms, deleting the authentication method configuration and selecting it on the required WMS authentication connection.
Feedback is welcome, and if any further details are required just ask away! :)
Commits tagged with [need-docs] or [FEATURE]
"[FEATURE] Add new authentication method that supports a HTTP header"