github-actions[bot] a44db38d05
Version packages (#3345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-13 16:32:43 -08:00

20 KiB

@atproto/oauth-client

0.3.7

Patch Changes

0.3.6

Patch Changes

  • Updated dependencies [72eba67af]:
    • @atproto-labs/did-resolver@0.1.7
    • @atproto-labs/identity-resolver@0.1.9
    • @atproto/xrpc@0.6.6

0.3.5

Patch Changes

  • Updated dependencies [a200e5095]:
    • @atproto-labs/handle-resolver@0.1.5
    • @atproto-labs/identity-resolver@0.1.8

0.3.4

Patch Changes

  • Updated dependencies []:
    • @atproto/xrpc@0.6.5

0.3.3

Patch Changes

  • Updated dependencies [622654672]:
    • @atproto-labs/fetch@0.1.2
    • @atproto-labs/did-resolver@0.1.6
    • @atproto-labs/identity-resolver@0.1.7

0.3.2

Patch Changes

0.3.1

Patch Changes

  • Updated dependencies []:
    • @atproto-labs/identity-resolver@0.1.6
    • @atproto/xrpc@0.6.4

0.3.0

Minor Changes

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

  • Updated dependencies [cb4abbb67, cb4abbb67, cb4abbb67, 98711a147]:
    • @atproto/did@0.1.2
    • @atproto/xrpc@0.6.2
    • @atproto-labs/did-resolver@0.1.3
    • @atproto-labs/handle-resolver@0.1.3
    • @atproto-labs/identity-resolver@0.1.3

0.2.0

Minor Changes

  • #2714 d9ffa3c46 Thanks @matthieusieben! - The OAuthClient (and runtime specific sub-classes) no longer return @atproto/api Agent instances. Instead, they return OAuthSession instances that can be used to instantiate the Agent class.

  • #2734 dee817b6e Thanks @matthieusieben! - Remove "nonce" from authorization request

  • #2734 dee817b6e Thanks @matthieusieben! - Mandate the use of "atproto" scope

  • #2734 dee817b6e Thanks @matthieusieben! - Remove "openid" compatibility. The reason is that although we were technically "openid" compatible, ATProto identifiers are distributed identifiers. When a client relies on OpenID to authenticate users, it will use the auth provider in combination with the identifier to uniquely identify the user. Since ATProto identifiers are meant to be able to move from one provider to the other, OpenID compatibility could break authentication after a user was migrated to a different provider.

    The way OpenID compliant clients would adapt to this particularity would typically be to remove the provider + identifier combination and use the identifier alone. While this is indeed the right way to handle ATProto identifiers, it requires more work to avoid impersonation. In particular, when obtaining a user identifier, the client must verify that the issuer of the identity token is indeed the server responsible for that user. This mechanism being not enforced by the OpenID standard, OpenID compatibility could lead to security issues. For this reason, we decided to remove OpenID compatibility from the OAuth provider.

    Note that a trusted central authority could still offer OpenID compatibility by relying on ATProto's regular OAuth flow under the hood. This capability is out of the scope of this library.

  • #2714 d9ffa3c46 Thanks @matthieusieben! - Rename OAuthAgent into OAuthSession

  • #2714 d9ffa3c46 Thanks @matthieusieben! - Rename OAuthSession's request method to fetchHandler. The goal of this change is to allow OAuthSession to be used in order to instantiate XrpcClient by implementing the FetchHandlerObject interface.

Patch Changes

0.1.7

Patch Changes

  • Updated dependencies [4ab248354]:
    • @atproto/api@0.13.3

0.1.6

Patch Changes

0.1.5

Patch Changes

  • #2729 35a126429 Thanks @matthieusieben! - The non-standard introspection_endpoint_auth_method, and introspection_endpoint_auth_signing_alg client metadata properties were removed. The client's token_endpoint_auth_method, and token_endpoint_auth_signing_alg properties are now used as the only indication of how a client must authenticate at the introspection endpoint.

  • #2729 35a126429 Thanks @matthieusieben! - The non-standard revocation_endpoint_auth_method, and revocation_endpoint_auth_signing_alg client metadata properties were removed. The client's token_endpoint_auth_method, and token_endpoint_auth_signing_alg properties are now used as the only indication of how a client must authenticate at the revocation endpoint.

  • #2727 3ebcd4e61 Thanks @matthieusieben! - Remove "exp" from dpop proof

  • #2729 35a126429 Thanks @matthieusieben! - The non-standard pushed_authorization_request_endpoint_auth_method, and pushed_authorization_request_endpoint_auth_signing_alg client metadata properties were removed. The client's token_endpoint_auth_method, and token_endpoint_auth_signing_alg properties are now used as the only indication of how a client must authenticate at the introspection endpoint.

  • Updated dependencies [35a126429]:

    • @atproto/oauth-types@0.1.3

0.1.4

Patch Changes

0.1.3

Patch Changes

  • Updated dependencies [22af354a5]:
    • @atproto/api@0.13.1

0.1.2

Patch Changes

0.1.1

Patch Changes

  • #2633 acc9093d2 Thanks @matthieusieben! - Add event emitting capability to OAuthClient

  • Updated dependencies [acc9093d2, acc9093d2, acc9093d2, acc9093d2]:

    • @atproto/oauth-types@0.1.1
    • @atproto/jwk@0.1.1
    • @atproto-labs/identity-resolver@0.1.1
    • @atproto-labs/handle-resolver@0.1.1
    • @atproto-labs/did-resolver@0.1.1
    • @atproto-labs/simple-store@0.1.1
    • @atproto-labs/simple-store-memory@0.1.1

0.1.0

Minor Changes

Patch Changes

  • Updated dependencies [a8d6c1123]:
    • @atproto-labs/simple-store-memory@0.1.0
    • @atproto-labs/identity-resolver@0.1.0
    • @atproto-labs/handle-resolver@0.1.0
    • @atproto-labs/did-resolver@0.1.0
    • @atproto-labs/simple-store@0.1.0
    • @atproto/oauth-types@0.1.0
    • @atproto-labs/fetch@0.1.0
    • @atproto/jwk@0.1.0
    • @atproto/did@0.1.0