Skip to content

Commit 3a293ff

Browse files
committed
release v2.2.1
1 parent 8ee935e commit 3a293ff

File tree

9 files changed

+1320
-433
lines changed

9 files changed

+1320
-433
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.2.1] - 2019-04-04
8+
9+
### Fixed
10+
- Custom domains support for appliances
11+
- `on-install` hook for node4 environment
12+
713
## [2.2.0] - 2019-03-01
814

915
### Added

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ nconf
4040
});
4141

4242
// Start the server.
43-
const app = require('./server')((key) => nconf.get(key), null);
43+
const app = require('./server').default((key) => nconf.get(key), null);
4444

4545
app.listen(nconf.get('PORT'), (error) => {
4646
if (error) {

package-lock.json

Lines changed: 1305 additions & 409 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auth0-sso-dashboard",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "This extension provides your users with a dashboard for all of their applications.",
55
"engines": {
66
"node": ">=4.x"
@@ -114,23 +114,8 @@
114114
"winston": "^2.2.0"
115115
},
116116
"devDependencies": {
117-
"@babel/core": "^7.0.0-beta.44",
118-
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.44",
119-
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.44",
120-
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.44",
121-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.44",
122-
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.44",
123-
"@babel/plugin-transform-runtime": "^7.0.0-beta.44",
124-
"@babel/polyfill": "7.0.0-beta.44",
125-
"@babel/preset-env": "^7.0.0-beta.44",
126-
"@babel/preset-react": "^7.0.0-beta.44",
127-
"@babel/register": "7.0.0-beta.44",
128-
"@babel/runtime": "^7.0.0-beta.44",
129-
"auth0-extensions-cli": "^1.1.0",
117+
"auth0-extensions-cli": "^1.4.0",
130118
"autoprefixer": "^6.5.1",
131-
"babel-eslint": "7.1.1",
132-
"babel-loader": "^8.0.0-beta",
133-
"babel-polyfill": "^6.26.0",
134119
"chai": "^3.5.0",
135120
"classnames": "^2.2.5",
136121
"cross-env": "^3.1.3",

server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import logger from './lib/logger';
1313
import config from './lib/config';
1414
import htmlRoute from './routes/html';
1515

16-
module.exports = (configProvider, storageProvider) => {
16+
export default (configProvider, storageProvider) => {
1717
config.setProvider(configProvider);
1818

1919
const storage = storageProvider

server/lib/authenticationUrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import config from './config';
22

3-
module.exports = (app) => {
3+
export default (app) => {
44
const authProtocol = app.type;
55
const callback = app.callback || '';
66
const domain = config('AUTH0_ISSUER_DOMAIN');

server/lib/middlewares/requireScope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ForbiddenError } from 'auth0-extension-tools';
22

3-
module.exports = (expectedScope) => (req, res, next) => {
3+
export default (expectedScope) => (req, res, next) => {
44
if (!req.user || !req.user.scope || req.user.scope.indexOf(expectedScope) < 0) {
55
return next(new ForbiddenError(`Cannot perform action. Missing scope ${expectedScope}`));
66
}

webtask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const url = require('url');
22
const tools = require('auth0-extension-express-tools');
33

4-
const expressApp = require('./server');
4+
const expressApp = require('./server').default;
55
const config = require('./server/lib/config');
66
const logger = require('./server/lib/logger');
77
const webtask = require('./server/lib/webtask');

webtask.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "SSO Dashboard",
33
"name": "auth0-sso-dashboard",
4-
"version": "2.2.0",
4+
"version": "2.2.1",
55
"preVersion": "2.1.1",
66
"author": "Auth0",
77
"useHashName": false,
@@ -39,7 +39,7 @@
3939
},
4040
"AUTH0_ISSUER_DOMAIN": {
4141
"description": "Custom domain",
42-
"example": "https://example.com",
42+
"example": "example.com",
4343
"required": false
4444
},
4545
"ALLOW_AUTHZ": {

0 commit comments

Comments
 (0)