UNPKG

feathers-authentication

Version:
582 lines (438 loc) β€’ 71.7 kB
# Change Log ## [Unreleased](https://github.com/feathersjs/feathers-authentication/tree/HEAD) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.7...HEAD) **Closed issues:** - Checking hook.params.headers.authorization [\#552](https://github.com/feathersjs/feathers-authentication/issues/552) - Ability to send token as part of URL [\#546](https://github.com/feathersjs/feathers-authentication/issues/546) - Anonymous Authentication [\#544](https://github.com/feathersjs/feathers-authentication/issues/544) - Quote Error [\#519](https://github.com/feathersjs/feathers-authentication/issues/519) - \[example\] CustomStrategy using passport-custom [\#516](https://github.com/feathersjs/feathers-authentication/issues/516) - \[Epic\] Auth 2.0.0 [\#513](https://github.com/feathersjs/feathers-authentication/issues/513) - ID set to null - Unable to delete with customer ID field. [\#422](https://github.com/feathersjs/feathers-authentication/issues/422) - Prefixing socket events [\#418](https://github.com/feathersjs/feathers-authentication/issues/418) - Passwordless auth [\#409](https://github.com/feathersjs/feathers-authentication/issues/409) - How to authenticate the application client? not only the users [\#405](https://github.com/feathersjs/feathers-authentication/issues/405) - Multi-factor Local Auth [\#5](https://github.com/feathersjs/feathers-authentication/issues/5) **Merged pull requests:** - Update debug to the latest version πŸš€ [\#555](https://github.com/feathersjs/feathers-authentication/pull/555) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update ws to the latest version πŸš€ [\#549](https://github.com/feathersjs/feathers-authentication/pull/549) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update chai to the latest version πŸš€ [\#543](https://github.com/feathersjs/feathers-authentication/pull/543) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v1.2.7](https://github.com/feathersjs/feathers-authentication/tree/v1.2.7) (2017-07-11) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.6...v1.2.7) **Closed issues:** - Connection without password [\#541](https://github.com/feathersjs/feathers-authentication/issues/541) - email in lower case ? [\#538](https://github.com/feathersjs/feathers-authentication/issues/538) - Im unable to ping feathers server from react native. [\#537](https://github.com/feathersjs/feathers-authentication/issues/537) - whats the official way to open cors in feather ? [\#536](https://github.com/feathersjs/feathers-authentication/issues/536) - Error options.service does not exist after initial auth setup [\#535](https://github.com/feathersjs/feathers-authentication/issues/535) - LogoutTimer not being cleared correctly [\#532](https://github.com/feathersjs/feathers-authentication/issues/532) - logoutTimer causing early logouts [\#404](https://github.com/feathersjs/feathers-authentication/issues/404) **Merged pull requests:** - fixed meta undefined error [\#542](https://github.com/feathersjs/feathers-authentication/pull/542) ([markacola](https://github.com/markacola)) ## [v1.2.6](https://github.com/feathersjs/feathers-authentication/tree/v1.2.6) (2017-06-22) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.5...v1.2.6) **Closed issues:** - OAuth 2 login for cordova [\#530](https://github.com/feathersjs/feathers-authentication/issues/530) **Merged pull requests:** - Change cleartimeout\(\) to lt.clearTimeout\(\) [\#534](https://github.com/feathersjs/feathers-authentication/pull/534) ([wnxhaja](https://github.com/wnxhaja)) - Update feathers-authentication-local to the latest version πŸš€ [\#533](https://github.com/feathersjs/feathers-authentication/pull/533) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v1.2.5](https://github.com/feathersjs/feathers-authentication/tree/v1.2.5) (2017-06-21) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.4...v1.2.5) **Closed issues:** - Cannot read property 'user' of undefined - lib\socket\update-entity.js:26:104 [\#529](https://github.com/feathersjs/feathers-authentication/issues/529) - Provider is undefined when using restrictToRoles [\#525](https://github.com/feathersjs/feathers-authentication/issues/525) - How to make a request to an Endpoint that requires authentication from nodejs? [\#523](https://github.com/feathersjs/feathers-authentication/issues/523) **Merged pull requests:** - fixes several issues with update-entity w/ test cases [\#531](https://github.com/feathersjs/feathers-authentication/pull/531) ([jerfowler](https://github.com/jerfowler)) ## [v1.2.4](https://github.com/feathersjs/feathers-authentication/tree/v1.2.4) (2017-06-08) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.3...v1.2.4) **Fixed bugs:** - User \(Entity\) needs to be updated on the socket after authentication [\#293](https://github.com/feathersjs/feathers-authentication/issues/293) **Closed issues:** - Express Middleware local -\> jwt does not authorize on redirect [\#518](https://github.com/feathersjs/feathers-authentication/issues/518) - Issue with feathers-authentication [\#512](https://github.com/feathersjs/feathers-authentication/issues/512) - User Authentication Missing Credentials error \(and subsequent nav authorization\) [\#508](https://github.com/feathersjs/feathers-authentication/issues/508) - passport log failure [\#505](https://github.com/feathersjs/feathers-authentication/issues/505) - authenticate with a custom username field \(rather than email\) [\#502](https://github.com/feathersjs/feathers-authentication/issues/502) - app.get\('auth'\) vs app.get\('authentication'\) [\#497](https://github.com/feathersjs/feathers-authentication/issues/497) - Can't get success authorization with pure feathers server [\#491](https://github.com/feathersjs/feathers-authentication/issues/491) **Merged pull requests:** - Test and fix for authenticate event with invalid data [\#524](https://github.com/feathersjs/feathers-authentication/pull/524) ([daffl](https://github.com/daffl)) - Remove hook.data.payload [\#522](https://github.com/feathersjs/feathers-authentication/pull/522) ([marshallswain](https://github.com/marshallswain)) - Update socket entity [\#521](https://github.com/feathersjs/feathers-authentication/pull/521) ([marshallswain](https://github.com/marshallswain)) - Made each option, optional [\#515](https://github.com/feathersjs/feathers-authentication/pull/515) ([cranesandcaff](https://github.com/cranesandcaff)) - Add feathers-authentication-hooks in readme [\#510](https://github.com/feathersjs/feathers-authentication/pull/510) ([bertho-zero](https://github.com/bertho-zero)) - Update ms to the latest version πŸš€ [\#509](https://github.com/feathersjs/feathers-authentication/pull/509) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Fix default authentication config keys [\#506](https://github.com/feathersjs/feathers-authentication/pull/506) ([ekryski](https://github.com/ekryski)) ## [v1.2.3](https://github.com/feathersjs/feathers-authentication/tree/v1.2.3) (2017-05-10) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.2...v1.2.3) **Closed issues:** - Validating custom express routes [\#498](https://github.com/feathersjs/feathers-authentication/issues/498) - Payload won't include userId when logging in with stored localStorage token [\#496](https://github.com/feathersjs/feathers-authentication/issues/496) - How to send oauth token authentication to another client server [\#493](https://github.com/feathersjs/feathers-authentication/issues/493) - Unhandled Promise Rejection error. [\#489](https://github.com/feathersjs/feathers-authentication/issues/489) - No Auth token on authentication resource [\#488](https://github.com/feathersjs/feathers-authentication/issues/488) - How to verify JWT in feathers issued by another feathers instance ? [\#484](https://github.com/feathersjs/feathers-authentication/issues/484) - hook.params.user [\#483](https://github.com/feathersjs/feathers-authentication/issues/483) - Overriding JWT's expiresIn with a value more than 20d prevents users from signing in [\#458](https://github.com/feathersjs/feathers-authentication/issues/458) **Merged pull requests:** - Update feathers-socketio to the latest version πŸš€ [\#503](https://github.com/feathersjs/feathers-authentication/pull/503) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update socket.io-client to the latest version πŸš€ [\#501](https://github.com/feathersjs/feathers-authentication/pull/501) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Fix issue with very large token timeout. [\#499](https://github.com/feathersjs/feathers-authentication/pull/499) ([asdacap](https://github.com/asdacap)) - Typo [\#492](https://github.com/feathersjs/feathers-authentication/pull/492) ([wdmtech](https://github.com/wdmtech)) - Update migrating.md [\#490](https://github.com/feathersjs/feathers-authentication/pull/490) ([MichaelErmer](https://github.com/MichaelErmer)) - Update semistandard to the latest version πŸš€ [\#487](https://github.com/feathersjs/feathers-authentication/pull/487) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update feathers-hooks to the latest version πŸš€ [\#485](https://github.com/feathersjs/feathers-authentication/pull/485) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update dependencies to enable Greenkeeper 🌴 [\#482](https://github.com/feathersjs/feathers-authentication/pull/482) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v1.2.2](https://github.com/feathersjs/feathers-authentication/tree/v1.2.2) (2017-04-12) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.1...v1.2.2) **Fixed bugs:** - accessToken not being used when provided by client over socketio [\#400](https://github.com/feathersjs/feathers-authentication/issues/400) **Closed issues:** - Incompatible old client dependency [\#479](https://github.com/feathersjs/feathers-authentication/issues/479) - Using feathers-authentication-client for an existing API? [\#478](https://github.com/feathersjs/feathers-authentication/issues/478) - app.authenticate error : UnhandledPromiseRejectionWarning: Unhandled promise rejection \(rejection id: 2\): \* Error \* [\#476](https://github.com/feathersjs/feathers-authentication/issues/476) - Make `socket.feathers` data available in authentication hooks [\#475](https://github.com/feathersjs/feathers-authentication/issues/475) - Allow the authenticate hook to be called with no parameters [\#473](https://github.com/feathersjs/feathers-authentication/issues/473) - Authenticate : How to return more infos ? [\#471](https://github.com/feathersjs/feathers-authentication/issues/471) **Merged pull requests:** - Use latest version of feathers-authentication-client [\#480](https://github.com/feathersjs/feathers-authentication/pull/480) ([daffl](https://github.com/daffl)) - Resolves \#475 - Socket params are made available to authentication hooks [\#477](https://github.com/feathersjs/feathers-authentication/pull/477) ([thomas-p-wilson](https://github.com/thomas-p-wilson)) ## [v1.2.1](https://github.com/feathersjs/feathers-authentication/tree/v1.2.1) (2017-04-07) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.2.0...v1.2.1) **Fixed bugs:** - failureRedirect is never used when using with oauth2 [\#387](https://github.com/feathersjs/feathers-authentication/issues/387) **Closed issues:** - OAuth guides [\#470](https://github.com/feathersjs/feathers-authentication/issues/470) - app.authenticate not working [\#466](https://github.com/feathersjs/feathers-authentication/issues/466) - how can I logout using local authentication? [\#465](https://github.com/feathersjs/feathers-authentication/issues/465) - How to do Socket.io Authentication [\#462](https://github.com/feathersjs/feathers-authentication/issues/462) - Add event filtering by default \(socket.io\) [\#460](https://github.com/feathersjs/feathers-authentication/issues/460) - Add ability to control if socket is marked as authenticated. [\#448](https://github.com/feathersjs/feathers-authentication/issues/448) - Auth redirect issue [\#425](https://github.com/feathersjs/feathers-authentication/issues/425) - E-mail verification step can be bypassed using Postman or Curl [\#391](https://github.com/feathersjs/feathers-authentication/issues/391) - Example app [\#386](https://github.com/feathersjs/feathers-authentication/issues/386) **Merged pull requests:** - Allow the cookie to be set if action is not `remove` [\#474](https://github.com/feathersjs/feathers-authentication/pull/474) ([marshallswain](https://github.com/marshallswain)) ## [v1.2.0](https://github.com/feathersjs/feathers-authentication/tree/v1.2.0) (2017-03-23) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.1.1...v1.2.0) **Fixed bugs:** - 1.0 authentication service hooks don't run when client uses feathers-socketio [\#455](https://github.com/feathersjs/feathers-authentication/issues/455) - `hook.params.provider` is not set when calling `client.authenticate\(\)` [\#432](https://github.com/feathersjs/feathers-authentication/issues/432) - remove method failed with JsonWebTokenError: invalid token [\#388](https://github.com/feathersjs/feathers-authentication/issues/388) **Closed issues:** - Token creation has side effect [\#454](https://github.com/feathersjs/feathers-authentication/issues/454) - Question: When is userId set? [\#453](https://github.com/feathersjs/feathers-authentication/issues/453) - How to authenticate SPA? More precisely how does the redirect works? [\#451](https://github.com/feathersjs/feathers-authentication/issues/451) - POST to auth/facebook for FacebookTokenStrategy 404? [\#447](https://github.com/feathersjs/feathers-authentication/issues/447) - feathers-authentication 1.1.1 `No auth token` [\#445](https://github.com/feathersjs/feathers-authentication/issues/445) - Another readme incorrect and maybe docs to [\#441](https://github.com/feathersjs/feathers-authentication/issues/441) - Readme incorrect and maybe docs to [\#440](https://github.com/feathersjs/feathers-authentication/issues/440) - npm version issue? [\#439](https://github.com/feathersjs/feathers-authentication/issues/439) - setCookie express middleware only works inside hooks [\#438](https://github.com/feathersjs/feathers-authentication/issues/438) - createJWT throws 'secret must provided' [\#437](https://github.com/feathersjs/feathers-authentication/issues/437) - Not useful error message on NotAuthenticated error [\#436](https://github.com/feathersjs/feathers-authentication/issues/436) - Passwordfeld in auth.local does not work as expected [\#435](https://github.com/feathersjs/feathers-authentication/issues/435) - Authentication via REST returns token without finding user on db [\#430](https://github.com/feathersjs/feathers-authentication/issues/430) **Merged pull requests:** - Filter out all events [\#461](https://github.com/feathersjs/feathers-authentication/pull/461) ([daffl](https://github.com/daffl)) - Fix socket auth [\#459](https://github.com/feathersjs/feathers-authentication/pull/459) ([marshallswain](https://github.com/marshallswain)) - Fix \#454 Token create has side effect [\#456](https://github.com/feathersjs/feathers-authentication/pull/456) ([whollacsek](https://github.com/whollacsek)) - Windows compatible version of the original compile comand with public folder support. [\#442](https://github.com/feathersjs/feathers-authentication/pull/442) ([appurist](https://github.com/appurist)) - Add client.js back for consistency [\#433](https://github.com/feathersjs/feathers-authentication/pull/433) ([daffl](https://github.com/daffl)) - add string to authenticate \(typescript\) [\#431](https://github.com/feathersjs/feathers-authentication/pull/431) ([superbarne](https://github.com/superbarne)) - Add support for Bearer scheme in remove method [\#403](https://github.com/feathersjs/feathers-authentication/pull/403) ([boybundit](https://github.com/boybundit)) ## [v1.1.1](https://github.com/feathersjs/feathers-authentication/tree/v1.1.1) (2017-03-02) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.1.0...v1.1.1) **Closed issues:** - Authentication over socket.io never answers [\#428](https://github.com/feathersjs/feathers-authentication/issues/428) **Merged pull requests:** - Remove lots of hardcoded values for config, and adds the `authenticate` hook [\#427](https://github.com/feathersjs/feathers-authentication/pull/427) ([myknbani](https://github.com/myknbani)) ## [v1.1.0](https://github.com/feathersjs/feathers-authentication/tree/v1.1.0) (2017-03-01) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.0.2...v1.1.0) **Fixed bugs:** - Mongo update error after logging into Facebook [\#244](https://github.com/feathersjs/feathers-authentication/issues/244) **Closed issues:** - Feature Request: Anonymous Authentication Strategy Support [\#423](https://github.com/feathersjs/feathers-authentication/issues/423) - Error is not thrown if token that is provided is invalid [\#421](https://github.com/feathersjs/feathers-authentication/issues/421) - Request body 'token' parameter disappears [\#420](https://github.com/feathersjs/feathers-authentication/issues/420) - Auth2 issue getting JWT token from server when different ports [\#416](https://github.com/feathersjs/feathers-authentication/issues/416) - Cookie-based authentication with XHR is not possible [\#413](https://github.com/feathersjs/feathers-authentication/issues/413) - JWT Authentication setup failing [\#411](https://github.com/feathersjs/feathers-authentication/issues/411) - how to disable service for external usage in version 1.0 [\#410](https://github.com/feathersjs/feathers-authentication/issues/410) - v1.0 is removed from npm? [\#408](https://github.com/feathersjs/feathers-authentication/issues/408) - Make JWT data more configurable [\#407](https://github.com/feathersjs/feathers-authentication/issues/407) - Possible typo [\#406](https://github.com/feathersjs/feathers-authentication/issues/406) - Authentication with an existing database with existing hashed \(md5\) passwords [\#398](https://github.com/feathersjs/feathers-authentication/issues/398) - can modify selected fields only [\#397](https://github.com/feathersjs/feathers-authentication/issues/397) - \[Discussion\] Migrating to 1.0 - hook changes [\#396](https://github.com/feathersjs/feathers-authentication/issues/396) - feathers-authentication 'local' strategy requires token? [\#394](https://github.com/feathersjs/feathers-authentication/issues/394) - JWT for local auth. [\#390](https://github.com/feathersjs/feathers-authentication/issues/390) - Feathers 'Twitter API' style [\#385](https://github.com/feathersjs/feathers-authentication/issues/385) - Missing code in example app [\#383](https://github.com/feathersjs/feathers-authentication/issues/383) - feathers-authentication errors with any view error, and redirects to /auth/failure [\#381](https://github.com/feathersjs/feathers-authentication/issues/381) - what does app.service\('authentication'\).remove\(...\) mean? [\#379](https://github.com/feathersjs/feathers-authentication/issues/379) - Rest Endpoints. [\#375](https://github.com/feathersjs/feathers-authentication/issues/375) - cordova google-plus signUp with id\_token [\#373](https://github.com/feathersjs/feathers-authentication/issues/373) - How to reconnect socket with cookie after page refresh ? [\#372](https://github.com/feathersjs/feathers-authentication/issues/372) - Error: Could not find stored JWT and no authentication strategy was given [\#367](https://github.com/feathersjs/feathers-authentication/issues/367) - "No auth token" using authenticate strategy: 'jwt' \(v.1.0.0-beta-2\) [\#366](https://github.com/feathersjs/feathers-authentication/issues/366) - Navigating to /auth/\<provider\> twice redirects to /auth/failed [\#344](https://github.com/feathersjs/feathers-authentication/issues/344) - Meteor auth migration guide [\#334](https://github.com/feathersjs/feathers-authentication/issues/334) - Auth 1.0 [\#330](https://github.com/feathersjs/feathers-authentication/issues/330) - RSA token secret [\#309](https://github.com/feathersjs/feathers-authentication/issues/309) - Add option to use bcrypt [\#300](https://github.com/feathersjs/feathers-authentication/issues/300) - Better example of how to change hashing algorithm? \[Question\] [\#289](https://github.com/feathersjs/feathers-authentication/issues/289) - issuer doesn't work [\#284](https://github.com/feathersjs/feathers-authentication/issues/284) - passport auth question [\#274](https://github.com/feathersjs/feathers-authentication/issues/274) - Add support for authenticating active users only [\#259](https://github.com/feathersjs/feathers-authentication/issues/259) - 404 response from populateUser\(\) hook [\#258](https://github.com/feathersjs/feathers-authentication/issues/258) - Responses hang when token.secret is undefined for local authentication [\#249](https://github.com/feathersjs/feathers-authentication/issues/249) - Authentication without password [\#246](https://github.com/feathersjs/feathers-authentication/issues/246) - Fix successRedirect to not override cookie path [\#243](https://github.com/feathersjs/feathers-authentication/issues/243) - Deprecate verifyToken and populateUser hooks in favour of middleware [\#227](https://github.com/feathersjs/feathers-authentication/issues/227) - Authenticating and creating [\#100](https://github.com/feathersjs/feathers-authentication/issues/100) - Add a password service [\#83](https://github.com/feathersjs/feathers-authentication/issues/83) **Merged pull requests:** - Fix JWT options typo [\#415](https://github.com/feathersjs/feathers-authentication/pull/415) ([daffl](https://github.com/daffl)) - Prevent setCookie from mutating authOptions [\#414](https://github.com/feathersjs/feathers-authentication/pull/414) ([adrien-k](https://github.com/adrien-k)) - Typescript Definitions [\#412](https://github.com/feathersjs/feathers-authentication/pull/412) ([AbraaoAlves](https://github.com/AbraaoAlves)) - Docs for migrating to auth.hooks.authenticate hook [\#399](https://github.com/feathersjs/feathers-authentication/pull/399) ([petermikitsh](https://github.com/petermikitsh)) - Typo 'cookie.enable' should be 'cookie.enabled' [\#380](https://github.com/feathersjs/feathers-authentication/pull/380) ([whollacsek](https://github.com/whollacsek)) - Docs: Equalize usage of feathers-authenticate [\#378](https://github.com/feathersjs/feathers-authentication/pull/378) ([eikaramba](https://github.com/eikaramba)) ## [v1.0.2](https://github.com/feathersjs/feathers-authentication/tree/v1.0.2) (2016-12-14) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.0.1...v1.0.2) **Closed issues:** - successRedirect not redirecting [\#364](https://github.com/feathersjs/feathers-authentication/issues/364) **Merged pull requests:** - adding a value for checking against oauth [\#374](https://github.com/feathersjs/feathers-authentication/pull/374) ([ekryski](https://github.com/ekryski)) ## [v1.0.1](https://github.com/feathersjs/feathers-authentication/tree/v1.0.1) (2016-12-14) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v1.0.0...v1.0.1) ## [v1.0.0](https://github.com/feathersjs/feathers-authentication/tree/v1.0.0) (2016-12-14) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.12...v1.0.0) **Fixed bugs:** - restrictToOwner does not support multi patch, update and remove [\#228](https://github.com/feathersjs/feathers-authentication/issues/228) **Closed issues:** - auth.express.authenticate got undefined [\#363](https://github.com/feathersjs/feathers-authentication/issues/363) - Non-standard header structure [\#361](https://github.com/feathersjs/feathers-authentication/issues/361) - localEndpoint without local strategy [\#359](https://github.com/feathersjs/feathers-authentication/issues/359) - Using custom passport strategies [\#356](https://github.com/feathersjs/feathers-authentication/issues/356) - Client-side app.on\('login'\) [\#355](https://github.com/feathersjs/feathers-authentication/issues/355) - Payload limiting on `app.get\('user'\)`? [\#354](https://github.com/feathersjs/feathers-authentication/issues/354) - Authentication token is missing [\#352](https://github.com/feathersjs/feathers-authentication/issues/352) - \[1.0\] The entity on the socket should pull from the strategy options. [\#348](https://github.com/feathersjs/feathers-authentication/issues/348) - \[1.0\] Only the first failure is returned on auth failure when chaining multiple strategies [\#346](https://github.com/feathersjs/feathers-authentication/issues/346) - Build 0.7.11 does not contain current code on NPMJS [\#342](https://github.com/feathersjs/feathers-authentication/issues/342) - feathers-authentication branch 0.8 did not work with payload \(tested on socket\) [\#264](https://github.com/feathersjs/feathers-authentication/issues/264) - Add method for updating JWT [\#260](https://github.com/feathersjs/feathers-authentication/issues/260) - 1.0 architecture considerations [\#226](https://github.com/feathersjs/feathers-authentication/issues/226) - Features/RFC [\#213](https://github.com/feathersjs/feathers-authentication/issues/213) - Support access\_token based OAuth2 providers [\#169](https://github.com/feathersjs/feathers-authentication/issues/169) - Support openID [\#154](https://github.com/feathersjs/feathers-authentication/issues/154) - Disable cookie by default if not using OAuth [\#152](https://github.com/feathersjs/feathers-authentication/issues/152) - Add token service tests [\#144](https://github.com/feathersjs/feathers-authentication/issues/144) - Add local service tests [\#143](https://github.com/feathersjs/feathers-authentication/issues/143) - Add OAuth2 service tests [\#142](https://github.com/feathersjs/feathers-authentication/issues/142) - Add OAuth2 integration tests [\#141](https://github.com/feathersjs/feathers-authentication/issues/141) - Add integration tests for custom redirects [\#125](https://github.com/feathersjs/feathers-authentication/issues/125) - Support mobile authentication via OAuth1 [\#47](https://github.com/feathersjs/feathers-authentication/issues/47) - Support OAuth1 [\#42](https://github.com/feathersjs/feathers-authentication/issues/42) - Password-less Local Auth with Email / SMS [\#7](https://github.com/feathersjs/feathers-authentication/issues/7) **Merged pull requests:** - migrating to semistandard [\#371](https://github.com/feathersjs/feathers-authentication/pull/371) ([ekryski](https://github.com/ekryski)) - Logout should always give a response. [\#369](https://github.com/feathersjs/feathers-authentication/pull/369) ([marshallswain](https://github.com/marshallswain)) - Clarify that the authenticate hook is required. [\#368](https://github.com/feathersjs/feathers-authentication/pull/368) ([marshallswain](https://github.com/marshallswain)) - Fix README example [\#365](https://github.com/feathersjs/feathers-authentication/pull/365) ([saiberz](https://github.com/saiberz)) - Remove additional deprecation notice [\#362](https://github.com/feathersjs/feathers-authentication/pull/362) ([porsager](https://github.com/porsager)) - fix typo [\#360](https://github.com/feathersjs/feathers-authentication/pull/360) ([osenvosem](https://github.com/osenvosem)) - Update feathers-primus to version 2.0.0 πŸš€ [\#358](https://github.com/feathersjs/feathers-authentication/pull/358) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Create .codeclimate.yml [\#357](https://github.com/feathersjs/feathers-authentication/pull/357) ([larkinscott](https://github.com/larkinscott)) - fixing redirect middleware [\#353](https://github.com/feathersjs/feathers-authentication/pull/353) ([ekryski](https://github.com/ekryski)) - Remove useless quotes [\#351](https://github.com/feathersjs/feathers-authentication/pull/351) ([bertho-zero](https://github.com/bertho-zero)) - A bunch of bug fixes [\#349](https://github.com/feathersjs/feathers-authentication/pull/349) ([ekryski](https://github.com/ekryski)) - fix\(docs/new-features\): syntax highlighting [\#347](https://github.com/feathersjs/feathers-authentication/pull/347) ([justingreenberg](https://github.com/justingreenberg)) - Update superagent to version 3.0.0 πŸš€ [\#345](https://github.com/feathersjs/feathers-authentication/pull/345) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Update feathers-memory to version 1.0.0 πŸš€ [\#343](https://github.com/feathersjs/feathers-authentication/pull/343) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - 1.0 Pre-release [\#336](https://github.com/feathersjs/feathers-authentication/pull/336) ([ekryski](https://github.com/ekryski)) ## [v0.7.12](https://github.com/feathersjs/feathers-authentication/tree/v0.7.12) (2016-11-11) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.11...v0.7.12) **Closed issues:** - App.authenticate uses wrong `this` reference [\#341](https://github.com/feathersjs/feathers-authentication/issues/341) - Getting more done in GitHub with ZenHub [\#331](https://github.com/feathersjs/feathers-authentication/issues/331) - Need help to use feathers authentication storage in vue vuex [\#329](https://github.com/feathersjs/feathers-authentication/issues/329) - How to get user id in hooks? [\#322](https://github.com/feathersjs/feathers-authentication/issues/322) - I checked out my new feathersjs app in another machine, created a new user but I can't log in! [\#320](https://github.com/feathersjs/feathers-authentication/issues/320) - restrict-to-owner throws error when user id is 0 [\#319](https://github.com/feathersjs/feathers-authentication/issues/319) - Not providing sufficient details for an auth provider should not be an error. [\#318](https://github.com/feathersjs/feathers-authentication/issues/318) - \[Question\] Is there a way to verify a user with password? [\#316](https://github.com/feathersjs/feathers-authentication/issues/316) - 0.8.0 beta 1 bug - this is not defined [\#315](https://github.com/feathersjs/feathers-authentication/issues/315) - Client: Document getJWT & verifyJWT [\#313](https://github.com/feathersjs/feathers-authentication/issues/313) - Socket client should automatically auth on reconnect [\#310](https://github.com/feathersjs/feathers-authentication/issues/310) - app.get\('token'\) doesn't work after a browser refresh. [\#303](https://github.com/feathersjs/feathers-authentication/issues/303) - Problem issuing multiple jwt's for the same user [\#302](https://github.com/feathersjs/feathers-authentication/issues/302) - restrict-to-owner does not allow Service.remove\(null\) from internal systems [\#301](https://github.com/feathersjs/feathers-authentication/issues/301) - How to migrate from restrictToOwner to checkPermissions [\#299](https://github.com/feathersjs/feathers-authentication/issues/299) - "username" cannot be used as local strategy usernameField [\#294](https://github.com/feathersjs/feathers-authentication/issues/294) - Bad Hook API Design: Hooks are inconsistent and impure functions [\#288](https://github.com/feathersjs/feathers-authentication/issues/288) - Mutliple 'user' models for authentication [\#282](https://github.com/feathersjs/feathers-authentication/issues/282) - Client should ensure socket.io upgrade is complete before authenticating [\#275](https://github.com/feathersjs/feathers-authentication/issues/275) - JWT is not sent after socket reconnection [\#272](https://github.com/feathersjs/feathers-authentication/issues/272) - 401 after service is moved/refactored [\#270](https://github.com/feathersjs/feathers-authentication/issues/270) - Client side auth should subscribe to user updates so that app.get\('user'\) is fresh [\#195](https://github.com/feathersjs/feathers-authentication/issues/195) - Make oauth2 more general [\#179](https://github.com/feathersjs/feathers-authentication/issues/179) - Add integration tests for custom service endpoints [\#145](https://github.com/feathersjs/feathers-authentication/issues/145) - Create a `requireAuth` wrapper for `verifyToken`, `populateUser`, `restrictToAuth` [\#118](https://github.com/feathersjs/feathers-authentication/issues/118) **Merged pull requests:** - babel-core@6.18.2 breaks build 🚨 [\#339](https://github.com/feathersjs/feathers-authentication/pull/339) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - πŸ‘»πŸ˜± Node.js 0.10 is unmaintained πŸ˜±πŸ‘» [\#337](https://github.com/feathersjs/feathers-authentication/pull/337) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - restrictToOwner -Fix check for methodNotAllowed [\#335](https://github.com/feathersjs/feathers-authentication/pull/335) ([daffl](https://github.com/daffl)) - Implement login and logout events for REST authentication [\#325](https://github.com/feathersjs/feathers-authentication/pull/325) ([daffl](https://github.com/daffl)) - Socket.io authentication tests and login logout event [\#324](https://github.com/feathersjs/feathers-authentication/pull/324) ([daffl](https://github.com/daffl)) - Reorganization [\#321](https://github.com/feathersjs/feathers-authentication/pull/321) ([ekryski](https://github.com/ekryski)) - client: use Authentication class, make `getJWT` and `verifyJWT` async [\#317](https://github.com/feathersjs/feathers-authentication/pull/317) ([marshallswain](https://github.com/marshallswain)) - 0.8 client decode jwt [\#314](https://github.com/feathersjs/feathers-authentication/pull/314) ([marshallswain](https://github.com/marshallswain)) - Store config at `app.config` [\#312](https://github.com/feathersjs/feathers-authentication/pull/312) ([marshallswain](https://github.com/marshallswain)) - Cookies will match jwt expiry by default. [\#308](https://github.com/feathersjs/feathers-authentication/pull/308) ([marshallswain](https://github.com/marshallswain)) - Remove permissions hooks and middleware [\#307](https://github.com/feathersjs/feathers-authentication/pull/307) ([daffl](https://github.com/daffl)) - First cut for authentication middleware [\#305](https://github.com/feathersjs/feathers-authentication/pull/305) ([daffl](https://github.com/daffl)) - 0.8 - OAuth fixes [\#304](https://github.com/feathersjs/feathers-authentication/pull/304) ([marshallswain](https://github.com/marshallswain)) ## [v0.7.11](https://github.com/feathersjs/feathers-authentication/tree/v0.7.11) (2016-09-28) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.10...v0.7.11) **Closed issues:** - Unable to authenticate with passport-google-oauth20 [\#295](https://github.com/feathersjs/feathers-authentication/issues/295) - "Unauthorized" Response with Hook Data [\#291](https://github.com/feathersjs/feathers-authentication/issues/291) - hashPassword in patch [\#286](https://github.com/feathersjs/feathers-authentication/issues/286) - Mobile App Facebook Login [\#276](https://github.com/feathersjs/feathers-authentication/issues/276) - Socket user should update automatically [\#266](https://github.com/feathersjs/feathers-authentication/issues/266) - Get user outside a service [\#261](https://github.com/feathersjs/feathers-authentication/issues/261) **Merged pull requests:** - hashPassword fall-through if there's no password [\#287](https://github.com/feathersjs/feathers-authentication/pull/287) ([marshallswain](https://github.com/marshallswain)) - Update feathers-memory to version 0.8.0 πŸš€ [\#285](https://github.com/feathersjs/feathers-authentication/pull/285) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Allow multiple username fields for local auth [\#283](https://github.com/feathersjs/feathers-authentication/pull/283) ([sdbondi](https://github.com/sdbondi)) ## [v0.7.10](https://github.com/feathersjs/feathers-authentication/tree/v0.7.10) (2016-08-31) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.9...v0.7.10) **Fixed bugs:** - restrictToOwner should not throw an error on mass deletions [\#175](https://github.com/feathersjs/feathers-authentication/issues/175) **Closed issues:** - Duplicate Email should be rejected by Default [\#281](https://github.com/feathersjs/feathers-authentication/issues/281) - Auth0 & featherjs authorization only [\#277](https://github.com/feathersjs/feathers-authentication/issues/277) - Cannot read property 'scope' of undefined [\#273](https://github.com/feathersjs/feathers-authentication/issues/273) - Socker.js | Custom successHandler [\#271](https://github.com/feathersjs/feathers-authentication/issues/271) - Use feathers-socketio? and rest&socket share session maybe? [\#269](https://github.com/feathersjs/feathers-authentication/issues/269) - Ability to invalidate old token/session when user login with another machine. [\#267](https://github.com/feathersjs/feathers-authentication/issues/267) - 0.8 authentication before hooks - only ever getting a 401 Unauthorised [\#263](https://github.com/feathersjs/feathers-authentication/issues/263) - REST Middleware breaks local auth [\#262](https://github.com/feathersjs/feathers-authentication/issues/262) - 0.8: Token Service errors on token auth using client [\#254](https://github.com/feathersjs/feathers-authentication/issues/254) - 0.8: Cookies, turning off feathers-session cookie also turns off feathers-jwt cookie. [\#253](https://github.com/feathersjs/feathers-authentication/issues/253) - Any example of how to do refresh token? [\#248](https://github.com/feathersjs/feathers-authentication/issues/248) - Custom Authentication Hooks [\#236](https://github.com/feathersjs/feathers-authentication/issues/236) - Is there an Authenticated Event [\#235](https://github.com/feathersjs/feathers-authentication/issues/235) - Error while using /auth/local [\#233](https://github.com/feathersjs/feathers-authentication/issues/233) - Providing token to feathers.authentication doesn't work [\#230](https://github.com/feathersjs/feathers-authentication/issues/230) - bundled hooks customize errors [\#215](https://github.com/feathersjs/feathers-authentication/issues/215) - Hooks should support a callback for conditionally running [\#210](https://github.com/feathersjs/feathers-authentication/issues/210) - restrictToRoles hook: More complex determination of "owner". [\#205](https://github.com/feathersjs/feathers-authentication/issues/205) - verifyToken hook option to error [\#200](https://github.com/feathersjs/feathers-authentication/issues/200) - Allow using restrictToOwner as an after hook [\#123](https://github.com/feathersjs/feathers-authentication/issues/123) **Merged pull requests:** - Manually supply an endpoint to the Client authenticate\(\) method [\#278](https://github.com/feathersjs/feathers-authentication/pull/278) ([mcnamee](https://github.com/mcnamee)) - Update mocha to version 3.0.0 πŸš€ [\#257](https://github.com/feathersjs/feathers-authentication/pull/257) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Don’t mix options when signing tokens [\#255](https://github.com/feathersjs/feathers-authentication/pull/255) ([marshallswain](https://github.com/marshallswain)) - Attempt to get token right away. [\#252](https://github.com/feathersjs/feathers-authentication/pull/252) ([marshallswain](https://github.com/marshallswain)) - Update async to version 2.0.0 πŸš€ [\#240](https://github.com/feathersjs/feathers-authentication/pull/240) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Creates better way or returning data in a familiar format [\#234](https://github.com/feathersjs/feathers-authentication/pull/234) ([codingfriend1](https://github.com/codingfriend1)) - Throws an error if restriction methods are used outside of a find or get hook [\#232](https://github.com/feathersjs/feathers-authentication/pull/232) ([codingfriend1](https://github.com/codingfriend1)) - RestrictToOwner now takes an array [\#231](https://github.com/feathersjs/feathers-authentication/pull/231) ([sscaff1](https://github.com/sscaff1)) - Adds ability to limit queries unless authenticated and authorized [\#229](https://github.com/feathersjs/feathers-authentication/pull/229) ([codingfriend1](https://github.com/codingfriend1)) ## [v0.7.9](https://github.com/feathersjs/feathers-authentication/tree/v0.7.9) (2016-06-20) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.8...v0.7.9) **Fixed bugs:** - Calling logout should revoke/blacklist a JWT [\#133](https://github.com/feathersjs/feathers-authentication/issues/133) **Closed issues:** - Query email rather than oauth provider id on /auth/\<provider\> [\#223](https://github.com/feathersjs/feathers-authentication/issues/223) - Cannot read property \'service\' of undefined [\#222](https://github.com/feathersjs/feathers-authentication/issues/222) **Merged pull requests:** - added support for hashing passwords when hook.data is an array [\#225](https://github.com/feathersjs/feathers-authentication/pull/225) ([eblin](https://github.com/eblin)) - jwt ssl warning [\#214](https://github.com/feathersjs/feathers-authentication/pull/214) ([aboutlo](https://github.com/aboutlo)) ## [v0.7.8](https://github.com/feathersjs/feathers-authentication/tree/v0.7.8) (2016-06-09) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.7...v0.7.8) **Closed issues:** - Feathers-authentication assumptions [\#220](https://github.com/feathersjs/feathers-authentication/issues/220) - Server-side header option does not accept capital letters [\#218](https://github.com/feathersjs/feathers-authentication/issues/218) - How to figure out why redirect to /auth/failure? [\#217](https://github.com/feathersjs/feathers-authentication/issues/217) - Getting token via REST is not documented [\#216](https://github.com/feathersjs/feathers-authentication/issues/216) - How to use Feathers Client to Authenticate Facebook/Instagram credentials [\#204](https://github.com/feathersjs/feathers-authentication/issues/204) - Remove token from localstorage [\#203](https://github.com/feathersjs/feathers-authentication/issues/203) - Check user password [\#193](https://github.com/feathersjs/feathers-authentication/issues/193) - app.authenticate\(\): Warning: a promise was rejected with a non-error: \[object Object\] [\#191](https://github.com/feathersjs/feathers-authentication/issues/191) - Authentication provider for Facebook Account Kit [\#189](https://github.com/feathersjs/feathers-authentication/issues/189) **Merged pull requests:** - Lowercase custom header [\#219](https://github.com/feathersjs/feathers-authentication/pull/219) ([mmwtsn](https://github.com/mmwtsn)) - mocha@2.5.0 breaks build 🚨 [\#212](https://github.com/feathersjs/feathers-authentication/pull/212) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Small refactoring to simplify structure and remove code duplication [\#209](https://github.com/feathersjs/feathers-authentication/pull/209) ([daffl](https://github.com/daffl)) - Use removeItem in the storage on logout [\#208](https://github.com/feathersjs/feathers-authentication/pull/208) ([daffl](https://github.com/daffl)) - Misspelled in a comment [\#201](https://github.com/feathersjs/feathers-authentication/pull/201) ([tryy3](https://github.com/tryy3)) - Update babel-plugin-add-module-exports to version 0.2.0 πŸš€ [\#199](https://github.com/feathersjs/feathers-authentication/pull/199) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) ## [v0.7.7](https://github.com/feathersjs/feathers-authentication/tree/v0.7.7) (2016-05-05) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.6...v0.7.7) **Fixed bugs:** - OAuth2 authentication callback failing due to missing property [\#196](https://github.com/feathersjs/feathers-authentication/issues/196) **Merged pull requests:** - properly handle optional `\_json` property [\#197](https://github.com/feathersjs/feathers-authentication/pull/197) ([nyaaao](https://github.com/nyaaao)) ## [v0.7.6](https://github.com/feathersjs/feathers-authentication/tree/v0.7.6) (2016-05-03) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.5...v0.7.6) **Fixed bugs:** - Facebook Authentication should do a patch not an update. [\#174](https://github.com/feathersjs/feathers-authentication/issues/174) **Closed issues:** - Authenticated user [\#192](https://github.com/feathersjs/feathers-authentication/issues/192) - REST token revoke [\#185](https://github.com/feathersjs/feathers-authentication/issues/185) - TypeError: Cannot read property 'service' of undefined [\#173](https://github.com/feathersjs/feathers-authentication/issues/173) - Optionally Include password in the params.query object passed to User.find\(\) [\#171](https://github.com/feathersjs/feathers-authentication/issues/171) - Pass more to local authentication params [\#165](https://github.com/feathersjs/feathers-authentication/issues/165) - Support custom authentication strategies [\#157](https://github.com/feathersjs/feathers-authentication/issues/157) **Merged pull requests:** - Allow manipulation of params before checking credentials [\#186](https://github.com/feathersjs/feathers-authentication/pull/186) ([saiichihashimoto](https://github.com/saiichihashimoto)) - Update feathers to version 2.0.1 πŸš€ [\#184](https://github.com/feathersjs/feathers-authentication/pull/184) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - fix\(oauth2\): Use patch to update user in oauthCallback [\#183](https://github.com/feathersjs/feathers-authentication/pull/183) ([beevelop](https://github.com/beevelop)) ## [v0.7.5](https://github.com/feathersjs/feathers-authentication/tree/v0.7.5) (2016-04-23) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.4...v0.7.5) **Fixed bugs:** - restrictToOwner and restrictToRoles have invalid type checking [\#172](https://github.com/feathersjs/feathers-authentication/issues/172) **Closed issues:** - user fails to signup with facebook if there is also local auth [\#168](https://github.com/feathersjs/feathers-authentication/issues/168) - Unable to authenticate requests when using vanilla Socket.IO [\#166](https://github.com/feathersjs/feathers-authentication/issues/166) ## [v0.7.4](https://github.com/feathersjs/feathers-authentication/tree/v0.7.4) (2016-04-18) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.3...v0.7.4) **Fixed bugs:** - restrictToOwner and restrictToRoles hooks don't work with nested models [\#163](https://github.com/feathersjs/feathers-authentication/issues/163) - Change restrictToOwner error when a request does not contain ID [\#160](https://github.com/feathersjs/feathers-authentication/issues/160) **Closed issues:** - authenticate\(\) can leak sensetive user data via token service [\#162](https://github.com/feathersjs/feathers-authentication/issues/162) - onBeforeLogin Hook [\#161](https://github.com/feathersjs/feathers-authentication/issues/161) **Merged pull requests:** - Hook fixes [\#164](https://github.com/feathersjs/feathers-authentication/pull/164) ([ekryski](https://github.com/ekryski)) ## [v0.7.3](https://github.com/feathersjs/feathers-authentication/tree/v0.7.3) (2016-04-16) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.2...v0.7.3) ## [v0.7.2](https://github.com/feathersjs/feathers-authentication/tree/v0.7.2) (2016-04-16) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.1...v0.7.2) **Closed issues:** - Auth doesn't work with non default local.userEndpoint [\#159](https://github.com/feathersjs/feathers-authentication/issues/159) - Automatically add the hashPassword hook to local.userEndpoint [\#158](https://github.com/feathersjs/feathers-authentication/issues/158) - Client authentication\(\) storage option not documented [\#155](https://github.com/feathersjs/feathers-authentication/issues/155) - restrictToRoles availability inconsistency [\#153](https://github.com/feathersjs/feathers-authentication/issues/153) - Does not populate user for other services [\#150](https://github.com/feathersjs/feathers-authentication/issues/150) **Merged pull requests:** - Steal Compatibility [\#156](https://github.com/feathersjs/feathers-authentication/pull/156) ([marshallswain](https://github.com/marshallswain)) ## [v0.7.1](https://github.com/feathersjs/feathers-authentication/tree/v0.7.1) (2016-04-08) [Full Changelog](https://github.com/feathersjs/feathers-authentication/compare/v0.7.0...v0.7.1) **Closed issues:** - Documentation discrepancies [\#148](https://github.com/feathersjs/feathers-authentication/issues/148) - bcrypt is hardcoded [\#146](https://github.com/feathersjs/feathers-authentication/issues/146) - Update Docs, Guides, Examples for v0.7 [\#129](https://github.com/feathersjs/feathers-authentication/issues/129) - populateUser: allow option to populate without db call. [\#92](https://github.com/feathersjs/feathers-authentication/issues/92) **Merged pull requests:** - Update feathers-memory to version 0.7.0 πŸš€ [\#149](https://github.com/feathersjs/feathers-authentication/pull/149) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - fix a typo [\#147](https://github.com/feathersjs/feathers-authentication/pull/147) ([chrjean](https://github.com/chrjean)) - Fix copy paste typo in queryWithCurrentUser hook. [\#140](https://github.com/feathersjs/feathers-authentication/pull/140) ([juodumas](https://github.com/juodumas)) ## [v0.7.0](https://github.com/feathersjs/feathers-authentication/tree/v0.7.0) (2016-03-30) [F