Authentication Required Error
MertToprak2 opened this issue · 1 comments
MertToprak2 commented
I’m receiving the error message displayed on the screen. Upon detailed inspection of the code, I see that the isAuthenticated check is being performed on line 34 of the Admin.tsx file. However, this field, namely useCurrentUser, is not being populated anywhere. Could you please assist me with this issue?
sajanv88 commented
@MertToprak2 It is checking if the user is authenticated to access the page. It is coming from abp application configuration. Check here: https://github.com/antosubash/abp-react/blob/main/src/packages/hooks/src/useCurrentUser.ts