Skip to content

Releases: PropelAuth/javascript

v2.0.3

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 26 Feb 03:27
009ff4d
Switch out XMLHttpRequest for fetch (#10)

* Switch out XMLHttpRequest for fetch

Also remove/update two tests that were flakey

* Update version

v2.0.2

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 24 Feb 21:03
c794b70
Expose methods to get just the hosted URLs (#9)

This makes it easier to set up links.
Also added a method for redirecting to the SAML configuration page

v2.0.1

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 16 Feb 17:03
f14d458
Fall back to not using localStorage if it's unavailable (#8)

* Fall back to not using localStorage if it's unavailable

* Bump version

v2.0.0

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 17 Nov 20:46
9aa878e

Added support for custom roles and permissions. See https://docs.propelauth.com/changelog/upgrade-guide for details of how to upgrade.

v2.0.0-beta.3

v2.0.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 10 Nov 10:04
Export accessHelper types

v2.0.0-beta.2

v2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 10 Nov 09:47
6c45ae4

Roles are now customizable in the backend, and this codebase handles that. A user still has a single role, but now we give a list of all roles that role "inherits" from.

The old attribute userRole is renamed userAssignedRole. It's now a straight string instead of an enum.

There are two new attributes to look at:

  • userRoles is a list of all roles that this user "inherits". Instead of checking roles with < and >, you should check for the existence of the role in this list.
  • userPermissions is a list of all permissions this user has. These are the four hardcoded permissions, e.g. SAML, deleting users, etc.

Added accessHelper to AuthenticationInfo, which has four validation functions.

v1.2.5

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 04 Oct 06:10
Add redirecting back to a URL after login/signup if specified

v1.2.4

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 24 Aug 00:23
Debounce token refetches on tab focus + network reconnect

v1.2.3

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 05 Jul 22:38
Rename file OrgHelper

v1.2.2

Choose a tag to compare

@andrew-propelauth andrew-propelauth released this 05 Jul 22:12
Added orgHelper and url safe version of org's name

orgHelper provides a nicer abstraction on top of organizations.

We also added a url safe version of the org name for path checking.