Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → Set Default Authentication Provider

AI-generated

Overview

This node operation sets a default authentication provider for a widget using the Didomi API. It is useful in scenarios where you need to configure or update the authentication provider that a widget uses to manage user authentication and consent preferences. For example, you might use this operation to switch the default authentication provider for a consent management widget in your application.

Use Case Examples

  1. Setting the default authentication provider for a widget to integrate with a new identity provider.
  2. Updating the authentication provider configuration to enhance security or compliance.

Properties

Name Meaning
Authentification Provider ID The ID of the authentication provider to set as the default for the widget.
Query Parameters Optional query parameters to customize the API request, such as filtering or pagination options.
Request Body The JSON body of the request containing the details to set the default authentication provider.

Output

JSON

  • Status Code - HTTP status code or message when no content is returned
  • response - The JSON response from the Didomi API after setting the default authentication provider

Dependencies

  • Didomi API with API Key and Secret credentials

Troubleshooting

  • Ensure that the Authentification Provider ID is provided; otherwise, the node will throw an error indicating it is required.
  • Verify that the API Key and API Secret credentials are correctly set and valid to avoid authentication errors.
  • Check the network connectivity and Didomi API availability if requests fail.
  • If the API response is empty or a string, the node attempts to parse it as JSON; malformed JSON responses may cause errors.

Links

Discussion