Activities of "maliming"

ok, Thanks

hi

Have you added the Coffee.CoinService to your web gateway(yarp.json)?

Please share the request logs of gateway during the remote call

hi

Can you share a project to reproduce this? A startup template project or your project

liming.ma@volosoft.com

hi

Please share the full code of your BackgroundJob.

hi

What's the target URL of this remote request?

Have you configured the RemoteServices in your project?

https://docs.abp.io/en/abp/latest/API/Static-CSharp-API-Clients#endpoint-configuration

hi

I shared the files with you.

Answer

hi

I reopened it, You can continue to leave messages.

Your current question credit has been refunded.

hi

You can try to remove the app.UseDynamicClaims from the ASP NET Core pipeline.

https://docs.abp.io/en/abp/latest/Dynamic-Claims

[auth-server_9fe7f5b1-5]: [21:50:00 ERR] ---------- RemoteServiceErrorInfo ----------
[auth-server_9fe7f5b1-5]: {
[auth-server_9fe7f5b1-5]: "code": null,
[auth-server_9fe7f5b1-5]: "message": "An internal error occurred during your request!",
[auth-server_9fe7f5b1-5]: "details": null,
[auth-server_9fe7f5b1-5]: "data": {},
[auth-server_9fe7f5b1-5]: "validationErrors": null
[auth-server_9fe7f5b1-5]: }
[auth-server_9fe7f5b1-5]:
[auth-server_9fe7f5b1-5]: [21:50:00 ERR] Nullable object must have a value.
[auth-server_9fe7f5b1-5]: System.InvalidOperationException: Nullable object must have a value.
[auth-server_9fe7f5b1-5]: at System.Nullable`1.get_Value()
[auth-server_9fe7f5b1-5]: at Volo.Abp.Users.CurrentUserExtensions.GetId(ICurrentUser currentUser)
[auth-server_9fe7f5b1-5]: at Volo.Abp.Account.DynamicClaimsAppService.RefreshAsync()```

hi

Problem is that when a token expire abp redirect me to login page. How can i remove/override that abp behavior?

I think the behavior comes from: https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/oauth/src/lib/strategies/auth-flow-strategy.ts#L76-L78

devpayoff:

I used: builder.SetAccessTokenLifetime(TimeSpan.FromMinutes(20)); for making the token expire after 20 minutes.

In angular i subscribed to the token refresh expiration event so when the token expire a modal appear this.oAuthService.events .pipe(filter(event => event.type === 'token_refresh_error')) .subscribe(() => { this.modalVisible = true; }); 

Problem is that when a token expire abp redirect me to login page. How can i remove/override that abp behavior?
Showing 5841 to 5850 of 11554 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.