Search
Get Started
C
C#
•
16mo ago
Cuda
asp.net core how to add role to identity
How do we add roles to an existing identity management project
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
T
TeBeCo
•
9/1/24, 5:16 PM
can you give me the link of the docs page of Identity Managment
?
C
Cuda
OP
•
9/1/24, 5:22 PM
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-8.0&tabs=visual-studio
Introduction to Identity on ASP.NET Core
Use Identity with an ASP
.NET Core app
. Learn how to set password requirements
(RequireDigit
, RequiredLength
, RequiredUniqueChars
, and more
)
.
C
Cuda
OP
•
9/1/24, 5:22 PM
This one
?
T
TeBeCo
•
9/1/24, 5:25 PM
yeah so follow that
C
Cuda
OP
•
9/1/24, 5:28 PM
This doesn
't show how to add a role to an existing app though
.
T
TeBeCo
•
9/1/24, 5:38 PM
you don
't add a role to the app
T
TeBeCo
•
9/1/24, 5:38 PM
a role is part of the identity
T
TeBeCo
•
9/1/24, 5:39 PM
T
TeBeCo
•
9/1/24, 5:39 PM
interestingly i clicked
T
TeBeCo
•
9/1/24, 5:39 PM
because it
's something that you configure
T
TeBeCo
•
9/1/24, 5:39 PM
T
TeBeCo
•
9/1/24, 5:39 PM
there seems to be something there
T
TeBeCo
•
9/1/24, 5:39 PM
same in customize
T
TeBeCo
•
9/1/24, 5:39 PM
¯\_(ツ)_/¯
T
TeBeCo
•
9/1/24, 5:40 PM
T
TeBeCo
•
9/1/24, 5:40 PM
there
's also that
T
TeBeCo
•
9/1/24, 5:42 PM
C
Cuda
OP
•
9/1/24, 5:45 PM
yeah looking at these
.
.
C
Cuda
OP
•
9/1/24, 5:45 PM
Seems we have to roll out our own UI to manage it
.
T
TeBeCo
•
9/1/24, 5:48 PM
yesnt
T
TeBeCo
•
9/1/24, 5:48 PM
you can scaffold and extend
T
TeBeCo
•
9/1/24, 5:48 PM
¯\_(ツ)_/¯
T
TeBeCo
•
9/1/24, 5:48 PM
i never scaffold either anyway
T
TeBeCo
•
9/1/24, 5:49 PM
but if you
're using the identity UI you can make a UI only for what you want
T
TeBeCo
you can scaffold and extend
C
Cuda
OP
•
9/1/24, 5:52 PM
Sorry but what is that scaffold and extend
?
T
TeBeCo
•
9/1/24, 5:53 PM
C
Cuda
OP
•
9/1/24, 5:56 PM
Ok yeah I see
Configure
Configure