Open Closed

Refresh token infinity loop after upgrade to 5.1.4 #2814


User avatar
0
cezary.bojko created
  • ABP Framework version: v5.1.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue: upgrade abp from 4.4.0 to 5.1.4"

After abp and angular (13) update token is refreshed every second after log in.

package.json { ... "dependencies": { "@abp/ng.components": "~5.1.4", "@abp/ng.core": "~5.1.4", "@abp/ng.setting-management": "~5.1.4", "@abp/ng.theme.shared": "~5.1.4", "@angular/animations": "~13.3.0", "@angular/common": "~13.3.0", "@angular/compiler": "~13.3.0", "@angular/core": "~13.3.0", "@angular/forms": "~13.3.0", "@angular/localize": "~13.3.0", "@angular/platform-browser": "~13.3.0", "@angular/platform-browser-dynamic": "~13.3.0", "@angular/router": "~13.3.0", "@microsoft/signalr": "^5.0.9", "@ng-bootstrap/ng-bootstrap": "^12.0.0", "@ngneat/until-destroy": "^9.x", "@volo/abp.commercial.ng.ui": "~5.1.4", "@volo/abp.ng.account": "~5.1.4", "@volo/abp.ng.audit-logging": "~5.1.4", "@volo/abp.ng.file-management": "~5.1.4", "@volo/abp.ng.identity": "~5.1.4", "@volo/abp.ng.identity-server": "~5.1.4", "@volo/abp.ng.language-management": "~5.1.4", "@volo/abp.ng.saas": "~5.1.4", "@volo/abp.ng.text-template-management": "~5.1.4", "@volo/abp.ng.theme.lepton": "~5.1.4", "bootstrap": "^5.0.0", "date-fns": "^2.23.0", "file-saver-es": "^2.0.5", "lodash-es": "^4.17.21", "moment": "^2.29.1", "ngx-logger": "^4.3.3", "rxjs": "^7.4.0", "thenby": "^1.3.4", "tslib": "^2.3.1", "zone.js": "~0.11.5" }, "devDependencies": { "@abp/ng.schematics": "~5.1.4", "@angular-devkit/build-angular": "~13.3.0", "@angular-eslint/builder": "1.2.0", "@angular-eslint/eslint-plugin": "1.2.0", "@angular-eslint/eslint-plugin-template": "1.2.0", "@angular-eslint/schematics": "1.2.0", "@angular-eslint/template-parser": "1.2.0", "@angular/cli": "~13.3.0", "@angular/compiler-cli": "~13.3.0", "@angular/language-service": "~13.3.0", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "@types/lodash-es": "^4.17.5", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "^4.28.2", "@typescript-eslint/parser": "4.3.0", "codelyzer": "^6.0.1", "eslint": "^7.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-deprecation": "^1.2.1", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsdoc": "30.7.6", "eslint-plugin-prefer-arrow": "1.2.2", "eslint-plugin-prettier": "^3.4.0", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.3.17", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "ng-packagr": "^13.3.0", "prettier": "^2.3.2", "prettier-eslint": "^12.0.0", "prettier-plugin-organize-imports": "^2.2.0", "protractor": "~7.0.0", "shallow-render": "^11.0.2", "ts-node": "~8.3.0", "typescript": "~4.6.3" }, "packageManager": "yarn@3.0.2" }


2 Answer(s)
  • User Avatar
    0
    muhammedaltug created

    Hello,

    We use the angular-oauth2-oidc package for authentication. If the rxjs package version is 7.x this case happens. Please downgrade rxjs version 6.x

  • User Avatar
    0
    cezary.bojko created

    It helped! Thanks!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35