Implemented Login workflow

This commit is contained in:
2025-11-30 15:19:49 +01:00
parent 2b5b0c1067
commit 825bd80ef0
22 changed files with 330 additions and 56 deletions

View File

@@ -0,0 +1,17 @@
@page "/login"
@using SpotiParty.Web.Services
<a class="button-primary" href="@_uri">Mit Spotify einloggen</a>
@inject AuthorizationHandler AuthHandler
@code {
private Uri _uri = null!;
protected override async Task OnInitializedAsync() {
await base.OnInitializedAsync();
_uri = await AuthHandler.ConstructLoginUri();
}
}