diff --git a/Frontend/Models/AuthResponseModel.cs b/Frontend/Models/AuthResponseModel.cs index c1b4a00..b62c916 100644 --- a/Frontend/Models/AuthResponseModel.cs +++ b/Frontend/Models/AuthResponseModel.cs @@ -2,7 +2,7 @@ namespace Frontend.Models; public class AuthResponseModel { - public string? Token { get; } + public string? Token { get; set; } - public string? RefreshToken { get; } + public string? RefreshToken { get; set; } } \ No newline at end of file diff --git a/Frontend/Program.cs b/Frontend/Program.cs index 7743c07..fb4fd7d 100644 --- a/Frontend/Program.cs +++ b/Frontend/Program.cs @@ -65,7 +65,7 @@ // Configure Cors policy to allow all origins because we are using Ocelot Api Gateway // We need to allow all origins because Frontend and Auth are not on the same port -app.UseCors("AllowFrontend"); +app.UseCors("AllowApiGateway"); app.UseMiddleware();