Hello,
I've added a new user through user migration with a user role, but I cannot log in to the app. When I remove the role, I can access the app. I'm not sure if I'm missing anything. Could you please help me with this?
I am using IdentityUser, UserManager, and RoleManager to create the user and role.
ABP Framework version: v7.3.2 UI Type: Angular Database System: MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): Yes Exception message and full stack trace: [Provide any relevant details] Steps to reproduce the issue:
5 Answer(s)
-
0
Hello,
Could you please check once in your Database whether the role
user
exists inAbp.Users
class?Thanks
-
0
-
0
hi Anjali Musmade, have any idea to resolve this issue?
-
0
Hello ,
I am unable reproudce the issue. i have check at my end it is work fine. Can you give steps to reporduce the issue.
Thank you.
-
0
hi,
The main reason from my custom role. If I use the admin role instead of my custom role, it works.
thanks Anjali Musmade