Skip to content

feat!: Generate SSO from OpenAPI spec#1633

Draft
gjtorikian wants to merge 3 commits into
mainfrom
oagen/own-sso
Draft

feat!: Generate SSO from OpenAPI spec#1633
gjtorikian wants to merge 3 commits into
mainfrom
oagen/own-sso

Conversation

@gjtorikian

Copy link
Copy Markdown
Contributor

Description

This PR generates the SSO logic in the Node SDK from the OpenAPI spec.

Most of the existing methods remained the same, or had new functionality added:

  • listConnections(options?) optional search? field
  • getAuthorizationUrl, getProfile, getProfileAndToken, getConnection, deleteConnection remain unchanged
  • There are two new methods: getLogoutUrl and authorizeLogout

However, one field changed: createdAt and updatedAt went from an ISO string to a proper Date object. Because of this, I would recommend this change being a breaking one.

gjtorikian and others added 3 commits June 18, 2026 14:11
Mark deleteConnection, getConnection, getProfileAndToken, and getProfile
as hand-owned so oagen preserves their public signatures (positional id
args, CustomAttributesType generics, PKCE/confidential-client token
exchange) while still owning listConnections and adopting the new logout
endpoints. Import deserializeProfileAndToken from its concrete serializer
file since the regenerated barrel only re-exports generated serializers,
and add the search filter to ListConnectionsOptions for the generated
listConnections serializer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Regenerate SSO with the connection_type wire field surfaced under the
domain name `type` (via the new fieldHints), preserving the long-standing
public SDK surface; wire serialization still uses connection_type. Drop the
redundant hand-written connection-type.enum and point ListConnectionsOptions
at the generated connection-type.interface so there is a single
ConnectionType. Update the events spec's connection fixture to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gjtorikian gjtorikian added the autogenerated Autogenerated code or content label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autogenerated Autogenerated code or content

Development

Successfully merging this pull request may close these issues.

1 participant