DB user pass authentication
Last updated
Last updated
DB user pass authentication is only used for building database connectors. Here, database access is authenticated with username and password over SSL (if unavailable, falling back to no SSL).
Here's how basic authentication works:
Patchworks sends an API request to the required database (e.g. MySQL). The request includes username and password authentication credentials in the HTTP header of the request, encoded in Base64 format.
Upon receipt of the request, authentication credentials are extracted from the request header and validated.
If the credentials provided are valid, access is granted for the requested resource. If the credentials are invalid or missing, an appropriate error response is returned and access is denied.
When a Patchworks user adds an instance of a connector and chooses to authenticate with db user pass authentication, they will see something similar to the example below: