Moved several appsettings defaults to user-secrets
This commit is contained in:
@@ -2,14 +2,7 @@
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.AspNetCore.Authentication
|
||||
@inject IHttpContextAccessor _httpContextAccessor
|
||||
<AuthorizeView>
|
||||
<Authorized>
|
||||
|
||||
</Authorized>
|
||||
<NotAuthorized>
|
||||
<h1>You must be logged in to view this page!</h1>
|
||||
</NotAuthorized>
|
||||
</AuthorizeView>
|
||||
@attribute [Authorize]
|
||||
|
||||
@code {
|
||||
protected async override Task OnInitializedAsync()
|
||||
|
||||
@@ -12,16 +12,15 @@
|
||||
<span class="oi oi-home" aria-hidden="true"></span> Home
|
||||
</NavLink>
|
||||
</li>
|
||||
<li class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="counter">
|
||||
<span class="oi oi-plus" aria-hidden="true"></span> Counter
|
||||
</NavLink>
|
||||
</li>
|
||||
<li class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="fetchdata">
|
||||
<span class="oi oi-list-rich" aria-hidden="true"></span> Fetch data
|
||||
</NavLink>
|
||||
</li>
|
||||
<AuthorizeView>
|
||||
<Authorized>
|
||||
<li class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="createserver">
|
||||
<span class="oi oi-list-rich" aria-hidden="true"></span> Create Server
|
||||
</NavLink>
|
||||
</li>
|
||||
</Authorized>
|
||||
</AuthorizeView>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"oidc" : {
|
||||
"authority" : "https://dummy.dummy",
|
||||
"authority" : "oidc_url",
|
||||
"client_id": "id",
|
||||
"client_secret": "secret"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user