+ + Not a member? + Register as a new user +
+Are you sure you want to log out?
+ ++ You have successfully logged out of the application. +
+
+ + Already have an account? + Sign in +
+
+ Request ID: @Model.RequestId
+
+ Swapping to the Development environment displays detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +
\ No newline at end of file diff --git a/user-management/src/Stickerlandia.UserManagement.Api/Pages/Error.cshtml.cs b/user-management/src/Stickerlandia.UserManagement.Api/Pages/Error.cshtml.cs new file mode 100644 index 00000000..af980a25 --- /dev/null +++ b/user-management/src/Stickerlandia.UserManagement.Api/Pages/Error.cshtml.cs @@ -0,0 +1,29 @@ +#nullable disable +#pragma warning disable CA1515 + +using System.Diagnostics; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace Stickerlandia.UserManagement.Api.Pages; + +[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + +public class ErrorModel : PageModel +{ + public string RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + private readonly ILoggerDo you want to grant @Model.ApplicationName access to your data? (scopes + requested: @Model.Scope)
+ + +Are you sure you want to sign out?
+ + +