Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.75 KB

CHANGELOG.md

File metadata and controls

28 lines (17 loc) · 1.75 KB

2015-12-12

  • Compatibility with Symfony Routing 3.0

2015-06-27 v2.0.x-dev

  • Compatibility with Silex 2.0@dev, Pimple 3.0 and Symfony 2.7+

2015-06-27 v1.3.0

  • Compatibility with Silex 1.3 and Symfony 2.4+
  • New convenience function oauth.csrf_token for generating a CSRF token.

2015-06-22 v1.0.0

  • Introduced the user_callback parameter in the oauth.services configuration array. This is used to specify a custom callback to populate the user token with user information retrieved from the user_endpoint. Note that in the near future this entire mechanism may be replaced with a more robust solution (e.g. a third party library).
  • Each array key in oauth.services should now be capitalized in the same manner as the underlying OAuth service class (e.g. GitHub instead of github). This removes the need for the workaround of providing the full classname in the class parameter. The service name will still be normalized to lowercase in URLs.
  • A convenience function, oauth.login_paths, returns an array of entrypoint URLs for all configured services.
  • Please refer to the updated example in the README for all the above changes.

2014-02-16 v0.1.1

  • Copied over new TokenStorageInterface methods to SymfonySession.

2013-10-05 v0.1.0

  • Failures during the callback process will now properly redirect back to failure_path. Specifically, $app['oauth.controller'] has been removed and the logic rolled into OAuthAuthenticationListener. The default callback path of /login/{service}/callback has changed to /auth/{service}/callback, so make sure to update the configuration at your OAuth provider.
  • SymfonySession is temporarily copied over from lusitanian/oauth to minimize disruption when it is removed in v0.5.