GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

(Bug) Guidance 2022.2.1.9 20/10/2022: Configuration of OAuth in appsettings for WPF has a different name #66

Closed vvdb-architecture closed 1 year ago

vvdb-architecture commented 2 years ago

The appsettings contains:

  "WPF.OAuth2.Wpf.Settings": {...}

But the TokenSettings reader accesses OAuth2.Wpf.Settings:

    public TokenSettings(IConfiguration configuration) : base("OAuth2.Wpf.Settings", configuration)
GFlisch commented 1 year ago

Have redeployed the template but was fixed for me

GFlisch commented 1 year ago

Fix by template => I have also integrate more

if (!IsInvokedByNSwag())
{
    app.MapGrpcReflectionService();
    app.MapHealthChecksUI();
    app.MapReverseProxy();
}