I get an error that says that my state does not match, it worked before i upgraded to angular 5 from 4.
Update:
below you can see my dependencies, “angular2-jwt”: “^0.2.3” is getting a warning that i should have angular >4.0.0 but that should not be the problem as the app does not reach JWT… my uri_redirect is http://localhost:5000
error is thrown in handleAuthentication()
at this.auth0.parseHash((err, authResult)
.
What should I check for when it comes to that error? I have also checked token at JWT.io and it looks normal
auth0 = new auth0.WebAuth({
clientID: SECRET,
domain: SECRET,
responseType: 'token id_token',
audience: SECRET,
redirectUri: 'http://localhost:5000',
scope: 'openid email profile'
});
"@angular/animations": "^5.0.1",
"@angular/cdk": "^5.0.0-rc0",
"@angular/common": "^5.0.1",
"@angular/compiler": "^5.0.1",
"@angular/core": "^5.0.1",
"@angular/flex-layout": "^2.0.0-beta.10",
"@angular/forms": "^5.0.1",
"@angular/http": "^5.0.1",
"@angular/material": "^5.0.0-rc0",
"@angular/platform-browser": "^5.0.1",
"@angular/platform-browser-dynamic": "^5.0.1",
"@angular/platform-server": "^5.0.1",
"@angular/router": "^5.0.1",
"@ngtools/webpack": "^1.8.0",
"@types/underscore": "^1.8.4",
"@types/webpack-env": "1.13.0",
"angular-sortablejs": "^2.1.0",
"angular2-chartjs": "^0.3.0",
"angular2-jwt": "^0.2.3",
"angular2-template-loader": "0.6.2",
"aspnet-prerendering": "^3.0.1",
"aspnet-webpack": "^2.0.1",
"auth0-js": "^8.11.2",
"awesome-typescript-loader": "3.2.1",
"bootstrap": "3.3.7",
"chart.js": "^2.7.1",
"css": "2.2.1",
"css-loader": "0.28.4",
"es6-shim": "0.35.3",
"event-source-polyfill": "0.0.9",
"expose-loader": "0.7.3",
"extract-text-webpack-plugin": "2.1.2",
"file-loader": "0.11.2",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"html-loader": "0.4.5",
"isomorphic-fetch": "2.2.1",
"jquery": "3.2.1",
"json-loader": "^0.5.7",
"lodash": "^4.17.4",
"ng2-toasty": "^4.0.3",
"ngx-perfect-scrollbar": "^5.0.0-9",
"preboot": "4.5.2",
"raven-js": "^3.19.1",
"raw-loader": "0.5.1",
"reflect-metadata": "0.1.10",
"rxjs": "^5.5.2",
"smooth-scrollbar": "^8.2.0",
"sortablejs": "^1.7.0",
"style-loader": "0.18.2",
"superagent": "^3.8.1",
"to-string-loader": "1.1.5",
"typescript": "^2.4.2",
"underscore": "^1.8.3",
"url-loader": "0.5.9",
"webpack": "2.5.1",
"webpack-hot-middleware": "2.18.2",
"webpack-merge": "4.1.0",
"zone.js": "0.8.12"