Skip to content

Releases: oauth-io/oauth-js

Release 0.4.0

09 Jan 11:54
Compare
Choose a tag to compare

This release brings OAuth.io's User Management to the SDK.

To learn more about this feature, please check out our documentation.

Release 0.3.0

07 Nov 18:43
Compare
Choose a tag to compare
  • Removes the need to include jQuery
  • Self generation from available features, according to OAuth.io or oauthd instance installed plugins

Version 0.2.4

07 Aug 15:12
Compare
Choose a tag to compare
  • Fix on state checking for redirection/callback cycle

Version 0.2.3

04 Aug 13:55
Compare
Choose a tag to compare
  • Closing the popup window before the OAuth flow is done is now caught in the .fail() callback, with the message "The popup was closed".

Version 0.2.2

04 Aug 08:41
Compare
Choose a tag to compare
  • Adds the possibility to set your own window settings for the popup :
OAuth.initialize('your_key');
OAuth.popup('provider', {
        wnd_settings:  {
             width: 500,
             height: 500,
             left: 200,
             top: 200
        }
    })
    .done(function (response) {
         //...
    })
    .fail(function (error) {
        //...
    });

This is especially useful for Chrome extensions, in which the popup has to be launched from the background page, which doesn't have geometry properties set.

Version 0.2.1

27 Jun 18:38
Compare
Choose a tag to compare

This version fixes several bugs:

  • Bug with undefined providers_api when requesting after having used .create()
  • Several error message issues

Version 0.2.0

27 Jun 18:39
Compare
Choose a tag to compare

In this version, the lib has been entirely refactored, and its has been source rewritten in CoffeeScript. It also adds the following feature:

  • A way to retrieve unified information about the authenticated user with the .me() method