Skip to content

Releases: xp-forge/web-auth

2.2.2: Fix for empty token_types

14 Mar 17:42
Compare
Choose a tag to compare
  • Fixed issue #10: Undefined array key "token_type" when response value
    does not contain this key. The spec clearly states this is REQUIRED
    (https://tools.ietf.org/html/rfc6749#section-5.1), some implementations
    do not return this nevertheless. Default to Bearer in this case.
    (@thekid)

2.2.1: OAuth state reset

05 Feb 11:16
Compare
Choose a tag to compare
  • Reset state after authentication via OAuth in order to prevent dead
    ends with expired tokens - instead, authentication will be retried
    (@thekid)

2.2.0: Fetch API

03 Jan 14:18
Compare
Choose a tag to compare
  • Made it possible to send more than just GET requests with fetch()
    (@thekid)

2.1.0: Callback URLs

26 Dec 20:33
Compare
Choose a tag to compare
  • Heads up: OAuth implementations now require a callback URL. If
    omitted, a deprecation notice will be raised, which will not break
    production code but make unit tests fail.
    (@thekid)
  • Merged PR #6: Fix callback URL mismatches, fixing issue #5 - @thekid

2.0.1: Session transmit fix

23 Dec 11:56
Compare
Choose a tag to compare
  • Fixed ISession::transmit() not being called after authentication
    (@thekid)

2.0.0: Basic and session based authentications

18 Oct 15:43
Compare
Choose a tag to compare
  • Added support for redirecting to URLs with fragments (/#/users/123)
    for OAuth1 and OAuth2; previously only CAS flows supported these.
    (@thekid)
  • Heads up: Refactored web.auth.Flow interface to an abstract class
    (@thekid)
  • Heads up: Refactored Authentication to be a base class of the
    two implementations, web.auth.Basic and web.auth.SessionBased
    (@thekid)
  • Merged PR #4: Implement Authentication::optional() - @thekid
  • Merged PR #3: Implement basic authentication - @thekid
  • Merged PR #2: Add Authentication::required() method - @thekid

1.1.0: CAS

11 Oct 11:01
Compare
Choose a tag to compare

1.0.1: Auth flow fix

26 Jul 12:49
Compare
Choose a tag to compare
  • Fixed OAuth flows throwing exceptions when a previous authorization flow
    was not completed successfully. Instead, retry authorization.
    (@thekid)

1.0.0: Drop PHP 5 support

10 Apr 14:43
Compare
Choose a tag to compare
  • Implemented xp-framework/rfc#334: Drop PHP 5.6:
    . Heads up: Minimum required PHP version now is PHP 7.0.0
    . Rewrote code base, grouping use statements
    (@thekid)

0.5.0: Ignore session_state parameter

05 Apr 17:17
Compare
Choose a tag to compare
Pre-release