An OAuth 2.0 standard Identity Access Management (IAM) API for ASP.NET Core with JWT Bearer Token authentication.
- User account registration (for admins)
- Authentication & Token refresh
- Password reset
- Account lockout for failure attempts
- Block/unblock user accounts
- Permissions & User groups
- View accounts, permissions and groups
- Manage user permissions and groups
- Install the latest .NET Core 3.1 SDK
- Install the MS SQL server Database
- Install Git
- Clone this repo
- Go to Identity.API folder on cloned repo, and Run the project using
dotnet runcommand - Project will be accessible under
http://localhost:8080
- Prerequisite - Docker + Docker compose on your Developer machine
- Go to cloned repo root folder, and Run the project using
docker-compose up -d --buid - This will spin-up MSSQL DB (on port
1433) + IdentityServer API (on port8080) containers on your machine - Project will be accessible under
http://localhost:8080
An API documentation can be found under http://localhost:8080/swagger url after the application is successfully run.
- Admin account - username:
identity.admin@gmail.com, password:Admin@#456
- Docker runnig - DB passowrd can be changed using
.envfile and default port mapping can be changed ondocker-compose.ymlfile. - Non-docker - DB configurations & kestrel port mapping can be changed using
appsettings.jsonorappsettings.Development.jsonfile on the project based on the environmentDevelopmentorProduction.