- Replace deprecated
requestwith maintainedaxiosinternally for token refresh - No public API changes; middleware behavior and responses unchanged
- Tests run unchanged via a test-time
requestshim backed bygot - Test command uses
--exitfor reliable termination
- Bump to v4.0.1, as NPM claims I published v4.0.0 two weeks ago!?
- Exposes a single middleware
- Changes to options:
herokuOAuthIDbecomesoAuthClientIDherokuOAuthSecretbecomesoAuthClientSecretherokuBouncerSecretbecomesencryptionSecretherokuAuthURLbecomesoAuthServerURLherokaiOnlyandherokaiOnlyRedirectreplaced byherokaiOnlyHandlerignoreRoutesbecomesignoredRoutes- Adds
herokuAPIHostoption - Adds
oAuthScopeoption (defaults to"identity"instead of Heroku OAuth default"global")
- Check session object for user and user email to verify user presence
- Require cookie-parser and client-sessions middlewares