@jmelberg-okta jmelberg-okta released this Mar 29, 2018 · 62 commits to master since this release

Assets 2

Fixes

Breaking Change

  • 786cd55 - Make login and logout redirect paths configurable (#169)

auth.login() didn't require a path parameter in previous versions of this library. In order to achieve custom redirecting, we've introduced the ability to pass in a custom route that navigates users to on completion.

// Before
auth.login()

// Now
auth.login('/profile')