Skip to content

v1.1.0

Compare
Choose a tag to compare
@MrHus MrHus released this 11 Nov 15:04
· 35 commits to master since this release

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