Closed pradeepgururani closed 2 months ago
Hi @pradeepgururani,
There is a section in the AuthP that covers this - see How to set up a super user when deploying a new application.
As you will see you need to use both the ASP.NET Core user and the Bulk Load feature.
We are using v 6.2.0 of library and calling
.AddSuperUserToIndividualAccounts()
to seed Super user.However it doesn't seem to be working. It does create a user however leaves out creating
AuthP
user and any association withAccessAll
permission. My conclusion is based on following code fromStartupServiceIndividualAccountsAddSuperUser.cs
:On database I can see that super user is created in
AspNetUsers
table but not inAuthUsers
.Please guide.