Installation

Command Line
cURL

Releases

v1.16.0

September 16, 2022
September 16, 2022

Added

  • Added support for creating Admin Portal links for viewing Audit Logs (#170)

v1.15.0

September 9, 2022
September 9, 2022

What's Changed

  • Add support for optional Idempotency Key in CreateOrganization Method (#166 )

v1.14.0

September 2, 2022
September 2, 2022

Added

  • Added Client for Audit Logs features: CreateEvent, CreateExport, and GetExport (https://github.com/workos/workos-go/pull/164)

v1.13.0

July 14, 2022
July 14, 2022

Added

  • Added directory_id and organization_id to DirectoryGroup and DirectoryUser (#161)

Changed

  • Updated ChallengeFactor and VerifyChallenge endpoints (#160)

v1.12.0

June 10, 2022
June 10, 2022

Changed

  • Updated enum list to current providers
  • Made expires_at non-nullable
  • Mapped all available fields in directory group interface

v1.11.0

May 16, 2022
May 16, 2022

Added

  • Exposed HTTPError struct (#152)

v1.10.0

March 30, 2022
March 30, 2022

Added

  • Added MFA API support (#144)

v1.9.0

March 22, 2022
March 22, 2022

Changed

  • Renamed GitHub org from "workos-inc" to "workos" (#145)

v1.8.0

March 1, 2022
March 1, 2022

Added

  • Added organization_id filter to list directories method (#142)

v1.7.0

January 10, 2022
January 10, 2022

Added

  • Added support for passing an organization to initiate SSO (#139)

Changed

  • Fixed typo in Directory Sync URL (#140)

New Contributors

v1.6.1

December 17, 2021
December 17, 2021

Added

  • Added directory_id and idp_id to directory user, as well as the inactive state constant (#137)

v1.6.0

December 16, 2021
December 16, 2021

Added

  • Added GetDirectory method to retrieve a single Directory (#125)
  • Exposed the ValidatePayload method on the Webhooks client (#129)
  • Added support for domain_hint and login_hint parameters to GetAuthorizationURL (#133)

v1.5.1

December 8, 2021
December 8, 2021

Added

  • Added missing connection types (#130)

v1.5.0

November 15, 2021
November 15, 2021

Added

  • Added webhook signature validation method (#123)

Changed

  • Updated name to email in PasswordlessSession (#127)

v1.4.0

September 23, 2021
September 23, 2021

Added

  • Added CreatedAt and UpdatedAt timestamps to the following resources: (#118)
    • Connection
    • Directory
    • Organization
  • Added support for AllowProfilesOutsideOrganization to organizations (#120)
  • Added OrganizationID to profiles (#121)

Changed

  • Improved error handling around OAuth-style errors (#108)

v1.3.0

August 16, 2021
August 16, 2021

Added

  • Added custom_attributes for Directory Users (#117)

v1.2.1

July 27, 2021
July 27, 2021

Changed

  • Removed internal dependency on gjson (#115)

v1.2.0

July 8, 2021
July 8, 2021

Added

  • Included the organization_id to Directory object

v1.1.0

June 23, 2021
June 23, 2021

Added

  • Added expires_in functionality to the createSession() function used in Magic Link

v1.0.0

May 12, 2021
May 12, 2021

Breaking Changes

  • sso.GetProfile has been renamed to sso.GetProfileAndToken (#100)
    • The return type has also been changed from (Profile, error) to (ProfileAndToken, error)
  • Organization operations have been moved from the portal package to organizations (#101)
    • portal.ListOrganizationsorganizations.ListOrganizations
    • portal.GetOrganizationorganizations.GetOrganization
    • portal.CreateOrganizationorganizations.CreateOrganization
    • portal.UpdateOrganizationorganizations.UpdateOrganization
  • sso.CreateConnection and sso.PromoteDraftConnection have been removed (#102)

v0.10.8

May 11, 2021
May 11, 2021

Added

  • Added support for connection parameter for Create Passwordless Session method
  • Added Get Organization method

Removed

  • Removed deprecated Connection fields

v0.10.7

May 6, 2021
May 6, 2021

Added

  • Added deprecation note for connection status in favor of connection state (both are still supported at this time)
  • Added method to update an organization

v0.10.6

April 27, 2021
April 27, 2021

Changed

  • Exposed idp_ID for directory sync profiles

v0.10.5

April 23, 2021
April 23, 2021

Added

  • Added a delete directory function to the DirectorySync package

v0.10.4

April 7, 2021
April 7, 2021

Added

  • Added connection to GetAuthorizationURLOptions (#84)

v0.10.3

March 4, 2021
March 4, 2021

Added

  • Added dsync intent to Admin Portal

v0.10.2

February 22, 2021
February 22, 2021

Added

  • Added state field for Directory Users

v0.10.1

February 8, 2021
February 8, 2021

Changed

  • Removed Unneeded Attribute from Directory Struct (#74)
  • Updated the SDK version to 0.10.1 (#75)

v0.10.0

February 2, 2021
February 2, 2021

Added

  • Added RedirectURI Passwordless Option (#62)
  • Added GET /connections (#64)
  • Added GET /connections/:id (#65)
  • Added ConnectionState to Connection struct (#69)
  • Added DELETE /connections/:id (#68)

Changed

  • Updated CODEOWNERS (#61)
  • Decoded Org ID from Connection API responses (#66)

v0.9.0

February 1, 2021
February 1, 2021

Added

  • Added Magic Link support (#60)

Changed

  • Updated package READMEs to point to integration guides
  • Updated docstrings and typos