Skip to content

Commit

Permalink
Revert "Make feathers-authentication match security documents (#554)" (
Browse files Browse the repository at this point in the history
…#556)

This reverts commit b375ae6baf7f48e6dde69c3dd9a7252956f449ed.
  • Loading branch information
ekryski authored and daffl committed Aug 29, 2018
1 parent d3e8ccb commit c957c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/authentication/src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const defaults = {
audience: 'https://yourdomain.com', // The resource server where the token is processed
subject: 'anonymous', // Typically the entity id associated with the JWT
issuer: 'feathers', // The issuing server, application or resource
algorithm: 'HS512',
algorithm: 'HS256',
expiresIn: '1d'
}
};
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication/test/options.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('options', () => {
});

it('sets the algorithm', () => {
expect(options.jwt.algorithm).to.equal('HS512');
expect(options.jwt.algorithm).to.equal('HS256');
});

it('sets the expiresIn', () => {
Expand Down

0 comments on commit c957c3d

Please sign in to comment.