Skip to content

Releases: GovTechSG/passport-openidconnect

v1.0.2

04 Oct 05:32
v1.0.2
e3f119d
Compare
Choose a tag to compare

What's Changed

Minor bumps to dependencies

setup: npm i -s @govtechsg/passport-openidconnect

Changed

  • fix: typo in oauth profile interface (special thanks to @jacobszpz)
  • chore: bump oauth to v0.10.0
  • chore: update npm packages

v1.0.1

15 May 07:21
v1.0.1
8d629cf
Compare
Choose a tag to compare

What's Changed

Note: There is no change to the codebase, just a version bump to publish to the new npm organisation.

setup: npm i -s @govtechsg/passport-openidconnect

Changed

  • chore: update npm organisation from @techpass to @govtechsg
  • chore: update github actions

v1.0.0

12 May 10:02
v1.0.0
fcf67ca
Compare
Choose a tag to compare

What's Changed

Note

We've synced the code with to v0.1.1 upstream release and reapplied most local changes.
The feature to specify a request property to be saved as appState via originalReqProp flag has been removed.
This should be done via the state property when authenticate() is called during login request.

setup: npm i -s @techpass/passport-openidconnect@v1.0.0

BREAKING CHANGE

  • refactor(BREAKING_CHANGE): token claim oid property no longer overwrites profile.id but returns as profile.oid.

Added

  • feat: typescript typings
  • chore: use eslint and prettier
  • chore: reorganised github actions
  • docs: rewrite code documentation in jsdoc format
  • docs: add constructor parameter description to README

Changed

  • refactor(BREAKING_CHANGE): token claim oid property no longer overwrites profile.id but returns as profile.oid.
  • refactor: use SessionContext to hold pkce verifier instead of appState
  • fix: removed unused meta argument from Session.store()
  • fix: improved type definitions for typescript
  • fix: "openid" added to scope even if already present. Take in fix from uptream PR#99.
  • fix: Profile interface should be defined locally
  • fix: User object should be defined by application
  • fix: token type should be string as they are unparsed
  • fix: use const and let instead of var
  • chore: add nyc as code coverage tool
  • chore: clean up unused pkgs

Security

  • chore: updated mocha deps to resolve security warnings

v1.0.0-beta5

27 Apr 03:15
v1.0.0-beta5
5283cb7
Compare
Choose a tag to compare
v1.0.0-beta5 Pre-release
Pre-release

What's Changed

Setup: npm i -s @techpass/passport-openidconnect@1.0.0-beta5

Changed

  • fix: user object should be defined by application
  • fix: token type should be string as they are unparsed

v1.0.0-beta4

26 Apr 02:39
v1.0.0-beta4
0f05162
Compare
Choose a tag to compare
v1.0.0-beta4 Pre-release
Pre-release

What's Changed

Setup: npm i -s @techpass/passport-openidconnect@1.0.0-beta4

Changed

  • fix: define Profile interface locally
  • docs: clean up jsdoc for verify function

v1.0.0-beta3

25 Apr 03:47
v1.0.0-beta3
1033c6a
Compare
Choose a tag to compare
v1.0.0-beta3 Pre-release
Pre-release

What's Changed

setup: npm i -s @techpass/passport-openidconnect@v1.0.0-beta3

Changed

  • refactor: use SessionContext to hold pkce verifier instead of appState
  • fix: removed unused meta argument from Session.store()
  • fix: improved type definitions for typescript
  • fix: "openid" added to scope even if already present. Take in fix from uptream PR#99.

Added

  • docs: more jsdocs updates
  • docs: add constructor parameter description to README

v1.0.0-beta2

18 Apr 08:20
v1.0.0-beta2
e054874
Compare
Choose a tag to compare
v1.0.0-beta2 Pre-release
Pre-release

What's Changed

Note: Synced to v0.1.1 upstream release.

Added

  • feat: typescript typings
  • chore: use eslint and prettier
  • chore: reorganised github actions

Changed

  • refactor(BREAKING_CHANGE): token claim oid property no longer overwrites profile.id but returns as profile.oid.

Security

  • chore: updated mocha deps to resolve security warnings

v0.3.3

17 Mar 04:10
d6fa06a
Compare
Choose a tag to compare

What's Changed

Note: Synced to v0.0.2 upstream release

  • feat: add pkce support
  • feat: add support for request properties as additional state
  • feat: add oid as profile.id