v1.1.0
Bugfix: authorized route incorrectly remembers past route
configureAuthentication
now accepts a dashboardRoute
which is
used to redirect logged in users trying to access an AuthorizedRoute
which they do not have the authorization for.
In addition configureAuthentication
now uses a default configuration
which has the following values:
{
authenticationUrl: '/api/authentication',
currentUserUrl: '/api/authentication/current',
loginRoute: '/login',
dashboardRoute: '/'
}
Additional changes:
- Updated docs code examples to use
tsx
format - Updated dependencies
- Set Travis to 10.16.3 instead of 10