You may want to try logging in (as someone with the necessary authorization).
8 |Sorry, there's nothing at this address.
14 |Loading...
10 | } 11 | else 12 | { 13 |17 | | Employee ID | 18 |First name | 19 |Last name | 20 |21 | |
---|---|---|---|---|
@employee.EmployeeId | 29 |@employee.FirstName | 30 |@employee.LastName | 31 |32 | 33 | 34 | 35 | 36 | 37 | 38 | | 39 |
8 | Swapping to Development environment will display more detailed information about the error that occurred. 9 |
10 |11 | The Development environment shouldn't be enabled for deployed applications. 12 | It can result in displaying sensitive information from exceptions to end users. 13 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 14 | and restarting the app. 15 |
-------------------------------------------------------------------------------- /Finished sample/BethanysPieShopHRM.Server/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |42 | There are no external authentication services configured. See this article 43 | for details on setting up this ASP.NET application to support logging in via external services. 44 |
45 |12 | This app does not currently have a real email sender registered, see these docs for how to configure a real email sender. 13 | Normally this would be emailed: Click here to confirm your account 14 |
15 | } 16 | else 17 | { 18 |19 | Please check your email to confirm your account. 20 |
21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Finished sample/Marvin.IDP/Areas/Identity/Pages/Account/RegisterConfirmation.cshtml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Authorization; 2 | using System.Text; 3 | using System.Threading.Tasks; 4 | using Marvin.IDP.Areas.Identity.Data; 5 | using Microsoft.AspNetCore.Identity.UI.Services; 6 | using Microsoft.AspNetCore.Mvc; 7 | using Microsoft.AspNetCore.Mvc.RazorPages; 8 | using Microsoft.AspNetCore.WebUtilities; 9 | using Microsoft.AspNetCore.Identity; 10 | 11 | namespace Marvin.IDP.Areas.Identity.Pages.Account 12 | { 13 | [AllowAnonymous] 14 | public class RegisterConfirmationModel : PageModel 15 | { 16 | private readonly UserManagerYou do not have access to that resource.
8 |Would you like to logout of IdentityServer?
11 | 19 |8 | Please enter the code displayed on your device 9 |
10 | 14 |19 | IdentityServer publishes a 20 | discovery document 21 | where you can find metadata and links to all the endpoints, key material, etc. 22 |
23 |26 | Click here to manage your stored grants. 27 |
28 |33 | Here are links to the 34 | source code repository, 35 | and ready to use samples. 36 |
37 |Once complete, you may close this tab
5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Finished sample/Marvin.IDP/Views/Shared/_CookieConsentPartial.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Http.Features 2 | 3 | @{ 4 | var consentFeature = Context.Features.GetSorry, there's nothing at this address.
8 |Loading...
9 | } 10 | else 11 | { 12 |16 | | Employee ID | 17 |First name | 18 |Last name | 19 |20 | |
---|---|---|---|---|
@employee.EmployeeId | 28 |@employee.FirstName | 29 |@employee.LastName | 30 |31 | 32 | 33 | 34 | 35 | 36 | 37 | | 38 |
8 | Swapping to Development environment will display more detailed information about the error that occurred. 9 |
10 |11 | The Development environment shouldn't be enabled for deployed applications. 12 | It can result in displaying sensitive information from exceptions to end users. 13 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 14 | and restarting the app. 15 |
-------------------------------------------------------------------------------- /Starter files/BethanysPieShopHRM.Server/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |