question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!

See original GitHub issue

Error at application

After about 30 minutes of logging in, the application shows an error Current user did not login to the application!

image

Log

WARN 2021-06-14 12:29:57,233 [76 ] Mvc.Authorization.AbpAuthorizationFilter - Abp.Authorization.AbpAuthorizationException: Current user did not login to the application! at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable1 authorizeAttributes) at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type) at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type) at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context) Abp.Authorization.AbpAuthorizationException: Current user did not login to the application! at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(IEnumerable1 authorizeAttributes) at Abp.Authorization.AuthorizationHelper.CheckPermissionsAsync(MethodInfo methodInfo, Type type) at Abp.Authorization.AuthorizationHelper.AuthorizeAsync(MethodInfo methodInfo, Type type) at Abp.AspNetCore.Mvc.Authorization.AbpAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)

log.txt

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:33 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
Saxrollcommented, Mar 21, 2022

@Saxroll did you find a solution to this problem ?

Hi. Unfortunately not yet. We stay on a workaround with disabled security stamp validataion and its cons. We will be investigating further and trying to find solution later.

0reactions
acjhcommented, Mar 19, 2022

This should be fixed in PR #6414.

Read more comments on GitHub >

github_iconTop Results From Across the Web

In the event viewer we frequently see ...
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application! Diagnosing/Resolving the Issue.
Read more >
"Current user did not login to the application!" error when ...
The issue was the user was not belonging to the tenant. Used the following line to set the tenant id and code worked....
Read more >
Warning " Current user did not login to the application!" # ...
Hi, I had a working sample application derived from ASP. ... AbpAuthorizationException: Current user did not login to the application! at ...
Read more >
ASP.NET Boilerplate authorization
Authorization is used to check if a user is allowed to perform some specific operation in the application. ASP.NET Boilerplate defines a permission...
Read more >
Current user did not login to the application!
Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found