✅ read-only builder.Services
services.AddAuthentication
throws exception:
this exact approach works for API, in MVC project I'm planning to inject token into header through middleware.1 Reply
Sorry~ was using it after
builder.Build()
apparently...