thangchung / clean-architecture-dotnet

🕸 Yet Another .NET Clean Architecture, but for Microservices project. It uses Minimal Clean Architecture with DDD-lite, CQRS-lite, and just enough Cloud-native patterns apply on the simple eCommerce sample and run on Tye with Dapr extension 🍻
MIT License
1.24k stars 266 forks source link

Integrate with Identity Server #1

Closed thangchung closed 3 years ago

thangchung commented 3 years ago

Simple authentication server

https://github.com/TryCatchLearn/DatingApp/blob/master/API/Controllers/AccountController.cs

Duende.IdentityServer

Don't know it yet :))

Okta

Because of the simplification for this application so that I integrate with Okta:

Application Uri: https://dev-31569871-admin.okta.com/

Sample guidance: https://developer.okta.com/docs/guides/sign-into-web-app/aspnetcore3/before-you-begin/

thangchung commented 3 years ago

The UoW here looks good https://github.com/TryCatchLearn/DatingApp/blob/master/API/Data/UnitOfWork.cs

thangchung commented 3 years ago
  1. We will try to integrate with Duende.IdentityServer

Read through: https://docs.microsoft.com/en-gb/aspnet/core/blazor/security/webassembly/standalone-with-authentication-library?view=aspnetcore-5.0

  1. We gonna use https://github.com/Megabit/Blazorise for the UI

  2. Build something like https://github.com/thbst16/BlazorCrud, with the cool demo at https://becksblazor.azurewebsites.net/

We have found this cool generator for RestEase: https://stefh.github.io/RestEase-Client-Generator/