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 viaoriginalReqProp
flag has been removed.
This should be done via thestate
property whenauthenticate()
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 ofappState
- fix: removed unused
meta
argument 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:
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
andlet
instead ofvar
- chore: add nyc as code coverage tool
- chore: clean up unused pkgs
Security
- chore: updated
mocha
deps to resolve security warnings