Authentication configs are specified at the datasource level and can be selected from queries within the datasource. Adding authentication to a datasource allows queries to run well-known authentication strategies and can reduce the amount of configuration needed when multiple queries share the same authentication.
A REST datasource can contain multiple authentication configs of well known types.
- Multiple configs of the same type can exist
- Configs must have a unique name
The appropriate information is added to the request when authentication is selected.
- Basic Auth - Adds the Base64 encoded username and password to the Authorization header
- Bearer Token - Adds the token to the Authorization header as Bearer token
From within a query use the Auth dropdown to select the desired authentication config to be added to the query.
Updated 26 days ago