Thanks berkansasmaz for great help.
Solution is working as expected.
Hello maliming, As i am not the expert in ABP features. can you help me out with sample where i have to make changes.
1- go to administration --> identity management --> Roles 2- select Permission option for any role 3- Assign all permission (we have more than 400 permissions) under your project to role 4- click save 5- screen stuck and loader keep roatating infinitely
Hello muhammedaltug , Thanks for help. my App.component.ts constructor looks like this. in last line of code
.subscribe(() => this.authService.navigateToLogin());
.navigateToLogin() method not found. What is missing
constructor( private routes: RoutesService, private oAuthService: OAuthService, private authService: AuthService, private replaceableComponentsService: ReplaceableComponentsService ) { this.oAuthService.events .pipe(filter(event => event.type === 'token_refresh_error')) .subscribe(() => this.authService.navigateToLogin()); }
Hello,
We fixed navigating to the login page when the token expires in version 4.4 with this pr. Can you update your project to version 4.4 and try your steps again ?
Hi, We are using 4.2.2. Can i get fix for this. Currently we cannot upgrade due to release plan.
I am guessing you are not using refresh tokens.
Share your oAuthConfiguration in the envorinment.ts file, please.
oAuthConfig: { issuer: 'https://localhost:44388', redirectUri: baseUrl, clientId: 'MyApp_App', responseType: 'code', scope: 'offline_access MyApp', },
Hello Maliming, Thanks. Can you also guide me where i have to make these changes i.e. project and file.
great. thanks.