Skip to content

v1.0.0

Compare
Choose a tag to compare
@seng-siong seng-siong released this 12 May 10:02
· 10 commits to master since this release
v1.0.0
fcf67ca

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