Digest Authentication Account

Overview

You can use this account type to connect the HTTP Client Snap with data sources that use the Digest Authentication account.

Account settings



Legend:
  • Expression icon (): Allows using JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
  • SnapGPT (): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
  • Suggestion icon (): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
  • Upload : Uploads files. Learn more.
Learn more about the icons in the Snap settings dialog.
Field / Field set Type Description
Label String

Required. Specify a unique label for the account.

Default value: N/A

Example: Digest Authentication Account
Username String/Expression Required. Specify the username for the Digest Authentication Account.
Note: To access the username for the HTTP Client Snap, enable expressions for the field and enter account.username.

Default value: N/A

Example: Snap_user

Password String/Expression Required. Specify the password for the Digest Authentication Account.
Note: To access the username for the HTTP Client Snap, enable expressions for the field and enter account.password.

Default value: N/A

Example: Encrypted

Use Preemptive Auth Checkbox Enable the checkbox if you want the Snap to send the authorization header directly to the endpoint using the specific information.

Default status: Deselected

Realm String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Specify the realm mentioned in the server’s WWW-Authenticate response header.

Default value: N/A

Example: me@kennethreitz.com

Nonce String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Specify the nonce mentioned in the server’s WWW-Authenticate response header.

Default value: N/A

Example: 980e9bdd5d2f5f4e49eef4a413f8db2

Algorithm String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Specify the algorithm used to produce the digest and un-keyed digest functions.

Default value: MD5

Example: MD5

QOP String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Specify the quality of protection applied to the message.

Default value: auth

Example: auth

Nonce Count String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Specify the hexadecimal count of the number of requests(including the current request) that the client sends with the nonce value in the current request.

Default value: N/A

Client Nonce String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Specify an opaque quoted ASCII-only string value provided by the client and used by both the client and server to avoid chosen plaintext attacks, to provide mutual authentication, and to provide some message integrity protection.

Default value: N/A

Opaque String/Expression Appears when the Use Preemptive Auth checkbox is selected.

Mention the string of data specified by the server that should be returned by the client unchanged in the Authorization header field of subsequent requests with URIs in the same protection space.

Default value: N/A

Example: 09312aead131413f9e2e0d0a3861e825

Troubleshooting

Error Reason Resolution
The username cannot contain the ': character. HttpClient5 library does not support colons in Usernames when using Basic Authentication. Provide a username without the colon ':” character and retry.