workos-node icon indicating copy to clipboard operation
workos-node copied to clipboard

Official Node SDK for interacting with the WorkOS API

Results 58 workos-node issues
Sort by recently updated
recently updated
newest added

Whether you call the `workos.sso.getProfileAndToken` api with the `code` returned to the redirect url or the `workos.sso.getProfile` api with the `accessToken` after calling the `workos.userManagement.authenticateWithCode` with the same code that...

## Description Adds `role` attribute to the profile object. ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [X]...

## Description - Adds network retries for FGA endpoints to `FetchHttpClient` ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates....

I think that it makes sense to support this trending framework

Cloudflare Workers will now support better NodeJS compatibility as announced [here](https://blog.cloudflare.com/more-npm-packages-on-cloudflare-workers-combining-polyfills-and-native-code/). However, the package currently relies on `iron-webcrypto` that uses `buffer` [polyfill](https://www.npmjs.com/package/buffer) and it leads to `nodejs_compat_v2` facing the issue...

The current SDK (`7.27.3`) supports [listing Organizations](https://workos.com/docs/reference/organization/list) by these filters: ![CleanShot 2024-09-18 at 15 16 48@2x](https://github.com/user-attachments/assets/a8276912-ca60-4861-a8a8-8445c558de58) Within the UI, however, it's possible and convenient to also find by an organization's...

enhancement

Can we allow support for rendering theme while creating the authorization URL? Right now I have to manually set it as light/dark in the WorkOS dashboard. But I would love...

## Description Adds `email` to the `userManagement.updateUser`. ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes...

Follow up on this issue [How to create roles and permission via the WorkOS SDK](https://github.com/workos/workos-node/issues/1159)

## Description Since we're dropping support for Node 16 we can remove the Node http client, opting for the cross-runtime fetch client. This PR removes it and its usage, and...