Skip to content

Releases: xp-forge/web-auth

7.1.0: Session library compatibility

04 Jan 20:14

Choose a tag to compare

  • Added support for xp-forge/sessions version 4.0+ - @thekid

7.0.0: OAuth refactoring

04 Jan 15:59

Choose a tag to compare

  • Heads up: Removed support for instantiating OAuth flows w/o callback
    (@thekid)
  • Changed SessionBased authentication to send 401 for sub-requests (e.g.
    images, fetch(), ...), implementing feature suggested in #38
    (@thekid)
  • Merged PR #37: Refactor OAuth1 & OAuth2 flows, fixing possible flow error
    states and implifiying their implementation
    (@thekid)
  • Added PHP 8.6 to the test matrix - @thekid
  • Merged PR #36: Add support for PKCE for OAuth2. This implements, among
    other things, the client side of MCP auth described in xp-forge/mcp#11
    (@thekid)

6.2.0: JWT from tokens

31 Dec 23:45

Choose a tag to compare

  • Made the web.auth.oauth.JWT class implement the lang.Value interface
    (@thekid)
  • Merged PR #35: Add JWT::from() and JWT::tryFrom() to parse JWTs from
    a given token
    (@thekid)

6.1.2: PHP 8.5 compatibility

05 Sep 22:36

Choose a tag to compare

  • Made compatible with xp-forge/address 7.0+, fixing deprecation warnings
    about null in array offsets in PHP 8.5+
    (@thekid)

6.1.1: Flow mismatch fix

05 Sep 15:44

Choose a tag to compare

  • Fixed OAuth (1 and 2) flows raising flow mismatches when invoked with
    server state inside a freshly created session, e.g. users having the
    URL includìng ?state=... bookmarked or pressing the browser's back
    button.
    (@thekid)

6.1.0: Flow targets

15 Aug 07:58

Choose a tag to compare

  • Merged PR #34: Extend Flow::target() to accept strings and URLs
    (@thekid)

6.0.0: Major dependency upgrade

04 May 17:00

Choose a tag to compare

  • Added PHP 8.5 to test matrix - @thekid
  • Dropped support for older dependency versions - @thekid

5.3.0: Parallel request handling

16 Feb 17:00

Choose a tag to compare

  • Merged PR #33: Refactor OAuth flows to handle parallel requests - @thekid

5.2.1: State reuse fix

03 Nov 09:28

Choose a tag to compare

  • Fixed OAuth2 implementation to redirect to the correct target URL when
    reusing state from a previous authorization flow.
    (@thekid)

5.2.0: Session namespaces

17 Jul 17:46

Choose a tag to compare

  • Merged PR #31: Make it possible to change the session namespace (CAS)
    (@thekid)
  • Merged PR #30: Make it possible to change the session namespace (OAuth)
    (@thekid)