Skip to content

Releases: travel-intelligence/ti-auth.js

1.1.1

27 Jan 04:58
Compare
Choose a tag to compare

This is a patch release to fix the URL construction of all API requests.

1.1.0

26 Jan 23:23
Compare
Choose a tag to compare

This release adds two new features:

  1. TiAuth.signout(); to delete the auth token from memory and take the user back to the Dashboard for authorization. Just note that, if the user is still correctly signed in to the Dashboard, this will take them back to your module. It’s a first version of a signout with as much functionality as is currently supported by the Dashboard. Consider using this when you receive a 40x response from the API and need a way to manually safeguard against invalid access to your application in a long-lived session.
  2. TiAuth.API_URL = ''; and TiAuth.DASHBOARD_URL = ''; as an interface to configure the other components of the new modular TI Platform with. Both of these values need to be set to the appropriate URLs in order for TiAuth to work (semantic exceptions will be thrown if you forgot to set them properly). As long as ti-auth.js is loaded early in your index.html you can even set these values in an external configuration file. Just make sure these values are set before calling TiAuth.initialize();.

1.0.0

27 Jan 04:59
Compare
Choose a tag to compare

Initial release with all basic functionality. It’s still missing essential configuration interfaces but those can be overwritten manually for now, if needs be.