diff --git a/Oqtane.Maui/Main.razor b/Oqtane.Maui/Main.razor index 1adc989e..a00a2e9b 100644 --- a/Oqtane.Maui/Main.razor +++ b/Oqtane.Maui/Main.razor @@ -12,7 +12,7 @@ else } @code { - Type ComponentType = Type.GetType("Oqtane.Routes, Oqtane.Client"); + Type ComponentType = Type.GetType("Oqtane.UI.Routes, Oqtane.Client"); private IDictionary Parameters { get; set; } private string message = ""; diff --git a/Oqtane.Maui/MauiProgram.cs b/Oqtane.Maui/MauiProgram.cs index 95a42117..fe147872 100644 --- a/Oqtane.Maui/MauiProgram.cs +++ b/Oqtane.Maui/MauiProgram.cs @@ -44,7 +44,7 @@ public static class MauiProgram builder.Services.AddLocalization(options => options.ResourcesPath = "Resources"); // register auth services - builder.Services.AddOqtaneAuthorization(); + builder.Services.AddOqtaneAuthentication(); // register scoped core services builder.Services.AddOqtaneScopedServices();