workos-node
workos-node copied to clipboard
Official Node SDK for interacting with the WorkOS API
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:  Within the UI, however, it's possible and convenient to also find by an organization's...
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...