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

Official Go SDK for interacting with the WorkOS API

Results 8 workos-go issues
Sort by recently updated
recently updated
newest added

## Description We no longer support querying directories by domain. ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ```...

## Description We currently set `ErrorCode` in `HTTPError` from the `code` field in raw responses from the WorkOS API, but only in certain cases, [like getting a `422`](https://github.com/workos/workos-go/blob/ec9e683bba39ec3b05abc7376c633929fc98376f/pkg/workos_errors/http.go#L47). Otherwise, `ErrorCode`...

## Description ## 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 ``` If yes, link a...

do not merge

When using `GetProfileAndToken`, there are a few cases where we might have an error. Namely: * The Client ID was invalid. * The Secret key was invalid or expired. *...

Unit testing anything with global variables is a real pain, and it would make life a lot easier if each package would expose `Client` as an interface and then use...

It would be quite useful if there were structs that corresponded to webhook events, e.g. like `dsync.user.updated`. For the above example, there _is_ the `directorysync.User` type but it's not quite...

OIDC and other SSO integrations support redirecting the user or calling a logout endpoint. Often, an enterprise requirement is to log the user completely out of the application and the...

## Description Add authentication events. ## 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 ``` If...

do not merge