implemented Discord OAuth2
This commit is contained in:
parent
9365e22874
commit
dbf1be4c5d
18 changed files with 195 additions and 133 deletions
11
Lieb/Pages/RedirectToLogin.razor
Normal file
11
Lieb/Pages/RedirectToLogin.razor
Normal file
|
@ -0,0 +1,11 @@
|
|||
@using Microsoft.AspNetCore.Components
|
||||
@inject NavigationManager Navigation
|
||||
|
||||
@code
|
||||
{
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
//This auto redirects a user to the login page
|
||||
Navigation.NavigateTo("Account/Login", true);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue