This article is part of a seriesdealing with IdentityServer.v3 authentication and authorization.
This Part deals with IdentityServer.V3 installation and configuration using MemberShipReboot as the undelying account repository. We will also add BrockAllen's IdentityManager for admin purposes.
Step 3: Create a self signed certificate.
on line 2 you have to specify a CA Root (choose whatever example : 'DevRoot') and line 15 a password (here : IAmAPassword).
Step 4 : Create the Configuration classes.
For the Users, we will use a MemberShipReboot repository.
Below is the Clients.cs listing that contains a single Client for now. It uses the Resource Owner flow.
The Scopes.cs contains the scopes for our application. for now there are the standard scope (openid...) and a scope that we defined to access our public api (we will create it later).
then copy the SSL URL to the clipboard and right click on the project to open the properties. Click the 'Web' Tab and copy the ssl url to Start Url and Project URL .
Step 9 : configure IdentityManager.
"MyIdentityDb" _ is the connection string that you configured in the _Web.config.
Try it and create a user 'test' for example. we will use 'Fiddler' to get a token using post requests with the Client that we have configured.
NB : the menus (All Users, Create new...) may take a moment to load.
As Usual, comments are welcome and even remarks to update this little documentation.