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,
});
],
// ...
});