Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update refreshAndSealSessionData to accept organizationId #1100

Merged

Conversation

mthadley
Copy link
Contributor

@mthadley mthadley commented Aug 6, 2024

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.

@mthadley mthadley requested a review from a team August 6, 2024 21:10
@mthadley mthadley requested a review from a team as a code owner August 6, 2024 21:10
Copy link

linear bot commented Aug 6, 2024

SSO_REQUIRED = 'sso_required',
/**
* @deprecated To be removed in a future major version.
*/
ORGANIZATION_NOT_AUTHORIZED = 'organization_not_authorized',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not actually an error that can be returned.

@mthadley mthadley merged commit f7516e3 into main Aug 7, 2024
4 checks passed
@mthadley mthadley deleted the feature/auth-3360-update-refreshandsealsessiondata-in-node-sdk branch August 7, 2024 20:25
@mthadley mthadley mentioned this pull request Aug 12, 2024
kodiakhq bot referenced this pull request in technifit/tasker Aug 12, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@workos-inc/node](https://togithub.com/workos-inc/workos-node) | [`7.21.0` -> `7.22.0`](https://renovatebot.com/diffs/npm/@workos-inc%2fnode/7.21.0/7.22.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@workos-inc%2fnode/7.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@workos-inc%2fnode/7.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@workos-inc%2fnode/7.21.0/7.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@workos-inc%2fnode/7.21.0/7.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>workos-inc/workos-node (@&#8203;workos-inc/node)</summary>

### [`v7.22.0`](https://togithub.com/workos/workos-node/releases/tag/v7.22.0)

[Compare Source](https://togithub.com/workos-inc/workos-node/compare/v7.21.0...v7.22.0)

#### What's Changed

-   Update `refreshAndSealSessionData` to accept `organizationId` by [@&#8203;mthadley](https://togithub.com/mthadley) in [https://github.com/workos/workos-node/pull/1100](https://togithub.com/workos/workos-node/pull/1100)
-   Add export types for CFW and Next.js 15 by [@&#8203;PaulAsjes](https://togithub.com/PaulAsjes) in [https://github.com/workos/workos-node/pull/1102](https://togithub.com/workos/workos-node/pull/1102)

**Full Changelog**: workos/workos-node@v7.21.0...v7.22.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/technifit/tasker).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants