This is the changelog for Authress SDK.
- Enable passing just the access token as a string to
AuthressClient
. - Fix the issuer path for service client tokens to include the accountId when the custom domain is not specified. The default issuer is converted from
api.authress.io
toaccountId.api.authress.io
. if this fallback issuer domain was specified in your authorizer, upgrading this library without changing your defined issuer, which prevent future access. - Add automatic retries to all requests.
- Fix service client token generated tokens so that they automatically get the custom domain injected in during using in the SDK.
- Add new
Pagination
type which paginationnext.cursor
to enable paging through resources. - Add
Extensions
api - Upgraded node to 14
- Add support for users and groups at the statement level of access records.
- Removed legacy support for RS512 service client tokens.
- Add EdDSA support for
tokenVerifier()
class - Set the service client authorization request type to be
oauth-authz-req+jwt
- Handle malformed baseUrls in
httpClient
. - Allow specifying the authress custom domain for service client machine to machine authentication.
- Add
users.getUser(userId)
api method. - Add
connections
API to the SDK.
- Migrated to Github Actions
- Allow key format to be base64 or unencoded
- Added
getUserRolesForResource
for access to user roles on a resource. - Add
Last-Modified
andIf-Unmodified-Since
support to access record updates. - Add
Groups
toAccessRecords
- Add
ConnectionsApi
to fetch user credentials for a specific connection