Releases: veracity/node-auth
Removed internal memory cache. Now using `express-session`
An internal memory cache caused issues when running multiple node.exe processes on the same server. This has now been resolved by using express-session
to persist the authentication data in the login process.
Dependencies have also been updated.
Added type for refresh token middleware
A minor release that cleans up the TypeScript interface for refresh token middleware functions.
No API changes.
Improved error reporting
Added reporting of errors if scope may be incorrect.
Minor bugfix
This release fixes a small bug where the metadata URL was not propagated correctly through the layers of the application causing it to not support custom metadata URL-based scenarios.
onLogout support
Added onLogout
configuration to helper function.
No other API changes.
Feature: Passthrough of metadata url
This release fixes one small problem with the helper function for setting up authentication for web apps.
- Metadata URL from the strategy configuration is now passed through and used for the configuration of the refresh middleware as well for a more consistent experience.
Documentation release
This release updates the code samples, adding new ones and updates the readme documentation to address encrypting session data.
There are no API changes in this release.
First official release
This release contains a complete rewrite of the library internals in order to better suit more scenarios that may be coming in the future. The general ideas and thought processes have not changed.
Please see the updated samples for changes to the APIs.
BETA - Minor typing fix release
This release is just a correction on a minor typing issue.
When importing VeracityAuthFlowStrategy
from @veracity/node-auth it would not correctly pass along typing information resulting in it being unusable as a class declaration.
This release has no effect on the API itself. It just passes along the correct typing information for TypeScript code.
BETA - Improved error reporting
This release augments the VIDPError
object with some additional information for debugging purposes:
- Added raw idToken to error object to aid in debugging.