diff --git a/en/identity-server/7.1.0/docs/deploy/configure/cookie-consent-banner.md b/en/identity-server/7.1.0/docs/deploy/configure/cookie-consent-banner.md new file mode 100644 index 0000000000..f1c477cb2d --- /dev/null +++ b/en/identity-server/7.1.0/docs/deploy/configure/cookie-consent-banner.md @@ -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 `/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. \ No newline at end of file diff --git a/en/identity-server/7.1.0/mkdocs.yml b/en/identity-server/7.1.0/mkdocs.yml index def4e03441..513e087241 100644 --- a/en/identity-server/7.1.0/mkdocs.yml +++ b/en/identity-server/7.1.0/mkdocs.yml @@ -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: