Releases: salte-auth/salte-auth
Releases Β· salte-auth/salte-auth
v3.1.8
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
3.1.1 (2020-05-10)
Bug Fixes (#416) (42f0cc1)
- Requests specified in the
endpoints
property will now be enhanced properly while not authenticated. - Login and logout requests are now automatically deduped to prevent storage collisions (state / nonce).
- Custom provider / handler names will now be respected in more place.
v3.1.0
3.1.0 (2020-05-07)
Features
All the Extra Parameters!
Unfortunately as part of the move from 2.x -> 3.x we accidentally removed support for providing extra query parameters.
Well, fret not because the feature is back once again and with a bit of extra functionality!
const auth = new SalteAuth({
providers: [
new Auth0({
// ...
// The type parameter is 'login' when a login occurs
// and 'logout' when a logout occurs.
queryParams: (type) => type === 'login' ? { hello: 'world' } : null,
});
],
// ...
});