Skip to content

add require consent to whitelabel data#398

Merged
chaitanyapotti merged 2 commits intomasterfrom
feat/add-require-consent
Apr 13, 2026
Merged

add require consent to whitelabel data#398
chaitanyapotti merged 2 commits intomasterfrom
feat/add-require-consent

Conversation

@lionellbriones
Copy link
Copy Markdown
Contributor

@lionellbriones lionellbriones commented Apr 13, 2026

Jira Link

https://consensyssoftware.atlassian.net/browse/EMBED-97

Description

Adds requiredConsent to WhiteLabelData to be used on Web3auth login modal.

How has this been tested?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Note

Low Risk
Low risk type-only change: adds an optional consentRequired boolean to WhiteLabelData with a default of false, without altering runtime logic.

Overview
Extends WhiteLabelData in src/utils/interfaces.ts with a new optional consentRequired?: boolean setting (default false) so integrators can indicate that the login flow should require user consent.

Reviewed by Cursor Bugbot for commit beedf40. Bugbot is set up for automated code reviews on this repo. Configure here.

@lionellbriones lionellbriones requested a review from a team as a code owner April 13, 2026 06:28
@chaitanyapotti chaitanyapotti merged commit 30b7ad4 into master Apr 13, 2026
5 checks passed
@chaitanyapotti chaitanyapotti deleted the feat/add-require-consent branch April 13, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants