MEF & Settings
Some checks failed
Dotnet build and test / log-the-inputs (push) Successful in 6s
Dotnet build and test / build (push) Failing after 2m55s

This commit is contained in:
Paul Schneider
2025-07-11 13:04:50 +01:00
parent 0aeff6118b
commit 52ba9ff3a8
6 changed files with 11 additions and 13 deletions

View File

@ -222,7 +222,6 @@ public static class HostingExtensions
}
private static IIdentityServerBuilder AddIdentityServer(WebApplicationBuilder builder)
{
//builder.Services.AddTransient<IProfileService,ProfileService>();
var identityServerBuilder = builder.Services.AddIdentityServer(options =>
{
options.Events.RaiseErrorEvents = true;
@ -232,12 +231,10 @@ public static class HostingExtensions
// see https://IdentityServer8.readthedocs.io/en/latest/topics/resources.html
options.EmitStaticAudienceClaim = true;
})
.AddInMemoryIdentityResources(Config.IdentityResources)
.AddInMemoryClients(Config.Clients)
.AddInMemoryApiScopes(Config.ApiScopes)
// .AddProfileService<ProfileService>()
.AddAspNetIdentity<ApplicationUser>()
;
if (builder.Environment.IsDevelopment())

View File

@ -19,7 +19,7 @@
<environment names="Development">
<script>
var CREATE_PAYMENT_URL = 'http://pschneider.fr:85/api/payment/create';
var EXECUTE_PAYMENT_URL = 'http://dev.pschneider.fr:85/api/payment/execute';
var EXECUTE_PAYMENT_URL = 'http://pschneider.fr:85/api/payment/execute';
var PAYPAL_ENV = 'sandbox';
</script>
</environment>

View File

@ -54,5 +54,4 @@ else
<a class="nav-link" asp-controller="Account" asp-action="Login" asp-route-ReturnUrl="~/" >Login</a>
</li>
}
using IdentityServer8.Extensions;
#line default

View File

@ -30,9 +30,10 @@ input[type='checkbox'] {
min-height: 1em; }
.container {
background-color: #00000040;
background-color: #00000093;
color: #fff;
border-radius: 2em; }
padding: .5em;
margin: .5em; }
.post {
background-color: #000000dd;
@ -41,10 +42,10 @@ input[type='checkbox'] {
border-radius: 2em;
border: solid #441515a4 2pt; }
div.actiongroup {
.actiongroup {
float: right;
margin: .5em; }
div.float-left {
.float-left {
float: left;
margin: .5em; }

View File

@ -45,9 +45,10 @@ input[type='checkbox'] {
}
.container {
background-color: #00000040;
background-color: #00000093;
color: #fff;
border-radius: 2em;
padding: .5em;
margin: .5em;
}
.post {

View File

@ -1,6 +1,6 @@
{
"Site": {
"Authority": "dev.pschneider.fr",
"Authority": "localhost",
"Title": "Yavsc dev",
"Slogan": "Yavsc : WIP.",
"Banner": "/images/yavsc.png",