Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Configure Cookie Consent Banner

The Cookie Consent Banner feature allows you to control the visibility of cookie consent notifications across different applications in WSO2 Identity Server.

## Overview

You can configure the cookie consent banner at different levels:

- **Global level**: Controls the banner across all applications.
- **Application-specific level**: Controls the banner for specific applications (Console and MyAccount).

??? Note "Affected Applications"
These configurations do not affect the authentication or recovery portals. Instead, they only determine whether the banner is shown within the respective applications.

## Configuration

All configurations are made in the `deployment.toml` file located in `<IS_HOME>/repository/conf/`.

### Global Configuration

To enable or disable the cookie consent banner globally across all applications, add the following configuration:

```toml
[ui.cookie_consent_banner]
enabled = true # Set to 'false' to disable globally
```

By default, this is set to `true`.

### Console Application Configuration

To enable or disable the cookie consent banner specifically for the Console application:

```toml
[console.ui]
is_cookie_consent_banner_enabled = false # Set to 'true' to enable for Console
```

### MyAccount Application Configuration

To enable or disable the cookie consent banner specifically for the MyAccount application:

```toml
[myaccount.ui]
is_cookie_consent_banner_enabled = false # Set to 'true' to enable for MyAccount
```

### Configuration Priority

Application-specific configurations take precedence over global configurations. For example:

* If global is disabled but Console is enabled, the banner will **show** in Console.
* If global is enabled but MyAccount is disabled, the banner will **not show** in MyAccount.
1 change: 1 addition & 0 deletions en/identity-server/7.1.0/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ nav:
- Session persistence: deploy/configure/session-persistence.md
- Clock tolerance: deploy/configure/clock-tolerance.md
- Email sending module: deploy/configure/email-sending-module.md
- Cookie consent banner: deploy/configure/cookie-consent-banner.md

- Secure:
- Mitigate attacks:
Expand Down