v1.0.0
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 viaoriginalReqPropflag has been removed.
This should be done via thestateproperty whenauthenticate()is called during login request.
setup: npm i -s @techpass/passport-openidconnect@v1.0.0
BREAKING CHANGE
- refactor(BREAKING_CHANGE): token claim
oidproperty 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
SessionContextto hold pkce verifier instead ofappState - fix: removed unused
metaargument fromSession.store() - fix: improved type definitions for typescript
- fix: "openid" added to scope even if already present. Take in fix from uptream PR#99.
- fix:
Profileinterface should be defined locally - fix:
Userobject should be defined by application - fix: token type should be string as they are unparsed
- fix: use
constandletinstead ofvar - chore: add nyc as code coverage tool
- chore: clean up unused pkgs
Security
- chore: updated
mochadeps to resolve security warnings