Releases: auth0/auth0.js
Releases · auth0/auth0.js
8.1.1
8.1.0
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
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
7.6.1
8.0.0-beta.3
8.0.0-beta.2
Added
Fixed