workos / workos-node

Official Node SDK for interacting with the WorkOS API
https://workos.com/docs/sdk/node
MIT License
119 stars 29 forks source link

Update `refreshAndSealSessionData` to accept `organizationId` #1100

Closed mthadley closed 2 months ago

mthadley commented 2 months ago

Description

This matches the authenticateWithRefreshToken method which also accepts an organizationId to allow "switching".

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

linear[bot] commented 2 months ago

AUTH-3360 Update `refreshAndSealSessionData` in Node SDK