Skip to content

0.11.0

Compare
Choose a tag to compare
@sahat sahat released this 01 Jun 07:15
· 691 commits to master since this release

Note 1: Base64.js polyfill is no longer bundled with Satellizer. All major browsers except IE9 support window.btoa and window.atob functions which are used for encoding/decoding a JWT string. If you still have to support IE9 then add the following before any other scripts in HTML:

<!--[if lte IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/Base64/0.3.0/base64.min.js"></script>
<![endif]-->

Note 2: The vendor/satellizer.js and a second copy of client folder in the PHP example is no longer kept in Git repository to avoid unnecessary file duplication. As a side effect, to run server-side examples you will now have to run npm install when you download/clone this repository, which will in turn run gulp copy and gulp php tasks after all dev dependencies are installed. These two gulp tasks will copy satellizer.js from root directory to examples/client/vendor, examples/ionic/www/lib and copy the entire client directory to examples/server/php/public/. This was necessary so that when I make a change to satellizer.js I don't have to commit 3 other (duplicate) files along with it.


  • ⚠️ : Twitter authentication (and OAuth 1.0 in general) refactoring. 50a3110 #329 (comment)
  • Added an ability to toggle storage type (localStorage vs sessionStorage). 28ab484
  • unlinkUrl is now correctly concatenated with `baseUrl string. f440efb
  • Fixed an issue with joinUrlabsolute url concatenation. bb9573e
  • Added Windows Live link/unlink account functionality. #424
  • Check if isAuthenticated() is true before sending the Authorization header. bb8518b
  • ⚠️ isAuthenticated() now returns false if token does not match a valid JWT structure. c875f6d
  • Fixed encoding of non-english characters. #405
  • Fixed documentOrigin and popupWindowOrigin host/port issue. c3655d2
  • Fixed an issue with popup query params in IE11. 0112985 4b630fb
  • Ionic: The satellizer.js is now copied directly to lib directory insead of lib/satellizer. 93b8e6e
  • Go: Added go-lang server example. Currently only supports Facebook, Google and Twitter authentication.
  • Node: Added an error message if unable to connect to MongoDB during server.js startup. 901c13c
  • Node: Handle JWT decode errors via try/catch. 30799e5
  • PHP: Updated Twitter example to use the new POST method for OAuth 1.0 authentication to be a little more consistent with OAuth 2.0 implementations. eb38652
  • Ruby: Fixed Ruby on Rails example. Some files were not committed during the initial pull request due to being ignore by the .gitignore file.