Skip to content

Releases: opengovsg/sgid-client

v2.2.0

16 Oct 09:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0

04 Sep 07:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

17 May 07:11
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.4...v2.0.0

v1.0.4

30 Sep 08:51
Compare
Choose a tag to compare

What's Changed

  • fix: bug with userinfo method due to wrong types in the userinfo endpoint response #12

New Contributors

Full Changelog: v1.0.3...v1.0.4

v1.0.3

13 Jun 08:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.2...v1.0.3

v1.0.2

10 Jun 07:23
Compare
Choose a tag to compare
  • fix: set Issuer to origin of specified hostname

v1.0.1

17 May 10:54
Compare
Choose a tag to compare

fix constructor optional types

v1.0.0

11 May 09:16
Compare
Choose a tag to compare

What's Changed

  • Replace node-jose with jose

Breaking Changes

  • SgidClient constructor now accepts optional hostname and apiVersion params instead of required endpoint param

Before:

endpoint: 'https://api.id.gov.sg/v1/oauth'

After:

hostname: 'https://api.id.gov.sg',  // default
apiVersion: 1                       // default
  • authorizationUrl and callback functions now accepts optional redirectUrl to override redirect url.
  • Removal of the following functions: createJWT and verifyJWT. Import jsonwebtoken directly if you require them.
  • decodeIdToken and getRedirectUri are now private functions
Other changes

v0.0.12

01 Jun 04:10
Compare
Choose a tag to compare

backtrack on named parameters (23b7c27)

v0.0.11

01 Jun 04:01
Compare
Choose a tag to compare

use named parameters in authorizationUrl() and callback() (7e76f43)