github descope/go-sdk v1.5.6

latest releases: v1.6.7, v1.6.6, v1.6.5...
14 months ago

Breaking changes

  • Password Replace return value: We're now returning the JWT's response in the ReplaceUserPassword function, so that the session and refresh JWTs can be utilized (for example, in flows). This information will be returned as an AuthenticationInfo object.
    Please notice that this breaks compilation of the function.

Enhancements

  • Setting email and phone verification status upon creation: When creating a new user, you can now control whether the email and/or phone of that user are verified or not.
  • Setting the Invitation URL via SDK: Using the new InviteOptions object, you can define a specific invitation URL when inviting a new user, that will override the default invitation URL set in your project's settings.
  • New error type: ErrTokenExpiredByLoggedOut: This error will return in case the token is expired because the user has already logged out previously.
  • README enhancements: Making our README more informative and full of examples for better explainability!

Don't miss a new go-sdk release

NewReleases is sending notifications on new releases.