- Broadcast event oauth:tokenDestroy after a logout.
- Remove access token and change directive text to 'logout' when token is expired.
- Fixed Code method option added
- Authorization Code method option added
- Replace $timeout with $interval #50
- Add broadcast “oath:profile” once profile is retrieved. #51
- Added travis
- Solved bug on access token definition from hash
- Correctly running tests with E2E protractor
- Fixed
expries_at
not being set in some situations - Only use session storage when oAuth hash not in URL
- Only remove oAuth2 tokens from hash
- Fixed
expires_at
not being set - Fixed
expired()
calculation
- Removed encoding for OAuth 2.0 scope.
- Removed settings for HTML5 mode
- Added logic to fire the oauth:expired event when the token expires. Before it was raised only when the request was returning a 401.
- Add new
oauth:authorized
event that omits, at view init time, if user is authorized.oauth:login
is fired when the user has completed the login process. per angularjs-oauth#16
- Don't default
state
to$location.url()
per angularjs-oauth#15 (comment)
- Updated name from ng-oauth to oauth-ng
- New documentation site andreareginato.github.io/oauth-ng
- Major refactoring