16 lines
448 B
C#
16 lines
448 B
C#
using Microsoft.AspNetCore.Components;
|
|
using Microsoft.JSInterop;
|
|
|
|
namespace Front.Program.Views.Project;
|
|
|
|
public partial class Auth : ComponentBase
|
|
{
|
|
[Inject] NavigationManager NavigationManager { get; set; } = default!;
|
|
[Inject] IJSRuntime JS { get; set; } = default!;
|
|
void KakaoLogin()
|
|
{
|
|
// await JS
|
|
// Redirect to Kakao login page
|
|
NavigationManager.NavigateTo("/api/v1/in/user/kakao/auth", true);
|
|
}
|
|
} |