Skip to content

feat: add support for Identity Verification - #211

Open
onesignal-deploy wants to merge 1 commit into
mainfrom
cd_update
Open

onesignal-deploy wants to merge 1 commit into
mainfrom
cd_update

Conversation

@onesignal-deploy

@onesignal-deploy onesignal-deploy commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Channels: Current

🚀 New Features

📝 Documentation

@sherwinski
sherwinski force-pushed the cd_update branch 2 times, most recently from 389bd41 to d506ae2 Compare November 23, 2026 20:26
@sherwinski sherwinski changed the title build: sync with web-shim-codegen v3.0.8 feat: sync with web-shim-codegen v3.0.8 Nov 23, 2026
@sherwinski sherwinski changed the title feat: sync with web-shim-codegen v3.0.8 feat: add support for Identity Verification Nov 24, 2026
@onesignal-deploy onesignal-deploy changed the title feat: add support for Identity Verification build: sync with web-shim-codegen v3.0.8 Nov 24, 2026
Channels: Current

### 🚀 New Features

- feat: [SDK-5256] add `OneSignal.updateUserJwt(externalId, token)` to give the Web SDK a new JWT for a user when Identity Verification is on. The method needs Web SDK 160900 or later. It waits for the Web SDK through `OneSignalDeferred`, and it rejects if the SDK script did not load (OneSignal/web-shim-codegen#145)
- feat: [SDK-5256] add the `userJwtInvalidated` event to `OneSignal.User.addEventListener` and `OneSignal.User.removeEventListener`, with the new types `UserJwtInvalidatedEvent`, `UserEventName`, and `UserEventTypeMap`. A `'change'` listener still gets a `UserChangeEvent`, so existing code compiles with no change (OneSignal/web-shim-codegen#145)

### 📝 Documentation

- docs: add `updateUserJwt` and a table of User events to the README (OneSignal/web-shim-codegen#145)
@sherwinski sherwinski changed the title build: sync with web-shim-codegen v3.0.8 feat: add support for Identity Verification Nov 24, 2026
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