Skip to content

Releases: venveo/craft-oauthclient

2.1.9

31 Mar 00:44
Compare
Choose a tag to compare

2.1.9 - 2021-03-30

Added

  • It's now possible to specify a redirect URL in App::getRedirectUrl

Fixed

  • The renderConnector no longer uses a form to submit, making it possible to use within forms (e.g. field layout templates)

Composer 2

27 Oct 13:15
Compare
Choose a tag to compare

2.1.8 - 2020-10-27

Fixed

  • Fixed Composer 2 compatibility (#32)

Authorization flow customization

06 Apr 14:21
Compare
Choose a tag to compare

2.1.7 - 2020-04-06

Fixed

  • Error when creating Facebook provider due to lack of Graph API version

Changed

  • The Authorization process will now keep track of a context in the session

Added

  • Added AuthorizationEvent to modify the flow of app authorization, such as the return URI for non-POST authorizations.
  • Added venveo\oauthclient\controllers\AuthorizeController::EVENT_BEFORE_AUTHENTICATE
  • Added venveo\oauthclient\controllers\AuthorizeController::EVENT_AFTER_AUTHENTICATE

2.1.6

18 Feb 17:48
Compare
Choose a tag to compare

2.1.6 - 2020-02-18

Fixed

  • Fixed a permissions error that could occur when a non-admin user tries to authenticate an app

2.1.5

17 Feb 21:19
Compare
Choose a tag to compare

2.1.5 - 2020-02-17

Fixed

Bug Fix

07 Feb 13:13
Compare
Choose a tag to compare

2.1.4 - 2020-02-07

Fixed

  • Error when invoking createTokenModelResponse (Thanks, @joshangell)

2.1.3 - 2020-01-13

13 Jan 14:32
Compare
Choose a tag to compare

Added

  • Added a setting to override a provider's authorization URL
  • Added EVENT_CREATE_TOKEN_MODEL_FROM_RESPONSE to base Provider
  • Added a connect button to the app edit page

Changed

  • Allow providers to define their own logic for token creation

Fixed

  • Improved compatibility with older versions of PHP (7.0+)

2.1.2

09 Nov 19:02
1f35d14
Compare
Choose a tag to compare

2.1.2 - 2019-11-09

Added

  • Added permissions for authorizing with apps

Changed

  • The Connect button on apps in the CP now includes a plugin.cp context

2.1.1 - 2019-10-08

08 Oct 19:10
f1f4f8f
Compare
Choose a tag to compare

2.1.1 - 2019-10-08

Added

  • Added AuthorizationUrlEvent event type
  • Added EVENT_GET_URL_OPTIONS event to Apps service to allow modification of options
  • Added context parameter to getRedirectUrl($context) to track the EVENT_GET_URL_OPTIONS
  • Added context parameter to renderConnector($context) to track the EVENT_GET_URL_OPTIONS

2.1.0

08 Oct 14:12
f63d0c4
Compare
Choose a tag to compare

2.1.0 - 2019-10-08

Added

  • Added project config support
  • Added events EVENT_BEFORE_APP_DELETED and EVENT_AFTER_APP_DELETED

Changed

  • Minimum Craft version require is now 3.1.34.3
  • Events now extend ModelEvent
  • Optimized event triggers

Fixed

  • Fixed deleting apps