A headless UI for the OpenIddict-Core stack.
| Type | Description | Badge |
|---|---|---|
| Build | Build status | |
| OpenIddict-UI API | API's for managing OpentIddict Scopes and Applications. |
|
| OpentIddict-UI Identity API | API's for managing ASP.NET Core Identity types (Accounts, Roles, etc.). |
A first step to provide some headless UI features to the OpenIddict stack.
Please note that this project does not provide you a ready to use UI instead provides you the required services that allow you to build one. You can use the samples as a starting point though.
Currently it provides API's for managing Scopes and Applications.
On top of that it ships API's for the Usermanagement when using ASP.NET Core Identity.
As a goodie the samples demonstrates this features by an Angular SPA client that uses the Authorization Code flow.
Assuming you downloaded the sources and opened VS Code in the root repo directory you should be good to go! Ahh and of course you need .NET Core and node.js installed on your development environment.
dotnet buildThat ensures you are able to build the dotnet related stuff!
If you develop in a devcontainer then you are already good to go!
First run the backend (see previous chapter)
After the Server is running navigate within your favorite command line to the Client directory and type:
npm iThis will install all the Client's required dependencies.
npm run startThis will start Angular's development server.
http://localhost:4200You should see now the login screen. You can now login with the pre-configured administrator users account which is:
Follow the original setup of the OpenIddict in the Startup.ConfigureServices(...) - method and add your required additional extension hooks AddUIStore(...), AddUIApis(...), AddUIIdentityStore(...) and AddUIIdentityApis().
…If your ApplicationUser class derives from an IdentityUser class where the key type is specified (e.g. IdentityUser) this key must also be supplied to AddUIIdentityStore and AddUIIdentityApis. e.g.
An example project using INT as the primary key is included in the samples/ServerWithCustomKey project.
...
.AddUIIdentityStore(options =>
{
...
})
// Register the APIs for the EF based UI Store based on ASP.NET Identity.
.AddUIIdentityApis();
...The project is still very young and there are a lot of ideas like:
Authorization and Token entities (if then really required).No open issues yet, or sync has not completed.