Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winchanOptions missing parameters #378

Closed
dimsedane opened this issue Mar 7, 2017 · 0 comments
Closed

winchanOptions missing parameters #378

dimsedane opened this issue Mar 7, 2017 · 0 comments
Labels
bug This points to a verified bug in the code
Milestone

Comments

@dimsedane
Copy link

I am using the auth0-lock library in an Angular 2 application.

I am using popup mode, but when logging in, the popup is blank and has the error "Uncaught Error: clientID is required." in the console for the popup.

Digging into with the debugger it looks like the issue is in

var popup = WinChan.open(winchanOptions, function (err, data) {
where the winchanoptions does contain the clientID, put not inside a params member like the winchan docs days it should.

Can you confirm if this is a general issue or something wrong with the combination of versions I use?

package.json:

    "dependencies": {
    "@angular/common": "^2.3.1",
    "@angular/compiler": "^2.3.1",
    "@angular/core": "^2.3.1",
    "@angular/forms": "^2.3.1",
    "@angular/http": "^2.3.1",
    "@angular/platform-browser": "^2.3.1",
    "@angular/platform-browser-dynamic": "^2.3.1",
    "@angular/router": "^3.3.1",
    "@types/auth0-lock": "^10.9.2",
    "@types/highcharts": "^4.2.46",
    "ag-grid": "7.1.0",
    "ag-grid-ng2": "7.1.2",
    "angular2-color-picker": "git://github.com/zefoy/angular2-color-picker.git#npm-package",
    "angular2-datatable": "0.5.2",
    "angular2-google-maps": "0.17.0",
    "angular2-infinite-scroll": "0.2.8",
    "angular2-jwt": "^0.1.28",
    "angular2-text-mask": "2.1.0",
    "angular2-toaster": "2.0.0",
    "angular2-tree-component": "2.0.0",
    "auth0-js": "^8.3.0",
    "auth0-lock": "^10.12.2",
    "bootstrap": "3.3.7",
    "codemirror": "5.22.0",
    "core-js": "^2.4.1",
    "easy-pie-chart": "2.1.7",
    "font-awesome": "4.7.0",
    "fullcalendar": "3.1.0",
    "highcharts": "^5.0.7",
    "jqcloud2": "2.0.2",
    "jquery": "3.1.1",
    "jquery-slimscroll": "1.3.8",
    "jquery-sparkline": "2.4.0",
    "jquery.browser": "0.1.0",
    "jquery.flot.tooltip": "github:krzysu/flot.tooltip",
    "lodash": "4.17.4",
    "modernizr": "3.3.1",
    "moment": "2.17.1",
    "ng2-bootstrap": "1.1.16-11",
    "ng2-charts": "1.4.4",
    "ng2-dnd": "2.1.1",
    "ng2-file-upload": "1.1.4-2",
    "ng2-img-cropper": "0.7.7",
    "ng2-select": "1.1.2",
    "ng2-table": "1.3.2",
    "ng2-tag-input": "0.7.0",
    "ng2-translate": "5.0.0",
    "ng2-validation": "3.1.3",
    "node-sass": "3.13.0",
    "rxjs": "^5.0.1",
    "screenfull": "3.0.2",
    "simple-line-icons": "2.4.1",
    "spinkit": "1.2.5",
    "summernote": "0.8.2",
    "ts-helpers": "^1.1.1",
    "weather-icons": "github:erikflowers/weather-icons",
    "whirl": "github:jh3y/whirl",
    "winchan": "^0.2.0",
    "zone.js": "^0.7.2"
  },
  "devDependencies": {
    "@angular/cli": "1.0.0-beta.30",
    "@angular/compiler-cli": "^2.3.1",
    "@types/codemirror": "0.0.37",
    "@types/jasmine": "2.5.38",
    "@types/lodash": "4.14.48",
    "@types/moment": "2.13.0",
    "@types/node": "^6.0.42",
    "codelyzer": "~2.0.0-beta.1",
    "jasmine-core": "2.5.2",
    "jasmine-spec-reporter": "2.5.0",
    "karma": "1.2.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-jasmine": "^1.0.2",
    "karma-read-json": "1.1.0",
    "karma-remap-istanbul": "^0.2.1",
    "loaders.css": "0.1.2",
    "napa": "2.3.0",
    "protractor": "~4.0.13",
    "ts-node": "1.2.1",
    "tslint": "^4.3.0",
    "typescript": "~2.0.3",
    "webdriver-manager": "10.2.5"
  }
@hzalaz hzalaz added bug This points to a verified bug in the code P0: Critical labels Mar 8, 2017
@hzalaz hzalaz added this to the v8-Next milestone Mar 8, 2017
@hzalaz hzalaz modified the milestones: v8-Next, v8.4.0 Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

2 participants