Skip to content

Releases: auth0/auth0.js

8.1.1

19 Jan 20:51
Compare
Choose a tag to compare

Full Changelog

Changed

Removed

  • Revert "Fallback to math.random if there is no crypto support" #320 (glena)

Fixed

8.1.0

19 Jan 20:51
Compare
Choose a tag to compare

Full Changelog

Added

  • Fallback to math.random if there is no crypto support #316 (glena)

Fixed

  • Fix passwordless #315 (glena)
  • Passwordless start: map params to authParams and fix tests #306 (glena)
  • Fix transaction usage to delete what is stored in local storage #298 (glena)

Breaking changes

  • Do not change casing of the user profile object #307 (glena)

8.0.4

12 Jan 14:54
Compare
Choose a tag to compare

Full Changelog

Fixed

8.0.3

06 Jan 15:19
Compare
Choose a tag to compare

Full Changelog

Added

  • Add the option to provide a leeway #292 (glena)

8.0.2

06 Jan 14:52
Compare
Choose a tag to compare

Full Changelog

Fixed

8.0.1

06 Jan 14:52
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Fix getSSOData failing due to extra headers #284 (glena)

8.0.0

06 Jan 14:52
Compare
Choose a tag to compare

Full Changelog

In v8 auth0.js is divided in three different components:

  • WebAuth: Handles all AuthN/AuthZ flows with redirect/popup inside the browser and related Auth API endpoints, e.g. /logout.
  • AuthenticationAPI: Helper methods for calling Auth0 Authentication API
  • ManagementAPI: Helper methods for calling Auth0 Management API

To get started you can just create a WebAuth instance like this

var auth0 = new auth0.WebAuth({
  domain: "{YOUR_AUTH0_DOMAIN}",
  clientID: "{YOUR_AUTH0_CLIENT_ID}"
});

Since auth0.js is intended to be used in javascript clients running in the browser most of the times an instance of WebAuth is needed.

And if you ever need to perform an xhr request to Auth0 Authentication API, WebAuth exposes an instance of AuthenticationAPI

auth0.client.userInfo(accessToken, function(error, userInfo) {
    // User information or error
  });

Added

  • add token validation and signature verification to the parseHash method #278 (glena)
  • Add method to signup and login using password-realm #277 (glena)

Breaking changes

  • Rename methods based on authN and authZ type #280 (glena)

7.6.1

03 Jan 21:33
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Support tenant option for custom domains #281

Fixed

8.0.0-beta.3

03 Jan 21:34
Compare
Choose a tag to compare

Full Changelog

Fixed

  • special handling for popup error responses #276 (glena)

8.0.0-beta.2

03 Jan 21:34
Compare
Choose a tag to compare

Full Changelog

Added

Fixed

  • Return policy attr in errors + responseType validation #273 (glena)