diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index e9581686..17301549 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -119,7 +119,7 @@ export default withMermaid({ { text: 'Authorization', link: '/examples/authorization-getting-started' }, { text: 'Resource Authorization ✨', link: '/examples/resource-authorization' }, { text: 'Clean Architecture', link: '/examples/auth-clean-arch' }, - { text: 'Web App', link: '/examples/web-app-razor' }, + { text: 'Web App MVC', link: '/examples/web-app-mvc' }, { text: 'Web API + Blazor', link: '/examples/web-api-blazor' } ] } diff --git a/docs/examples/web-app-razor.md b/docs/examples/web-app-mvc.md similarity index 95% rename from docs/examples/web-app-razor.md rename to docs/examples/web-app-mvc.md index 083ed1cd..682f0264 100644 --- a/docs/examples/web-app-razor.md +++ b/docs/examples/web-app-mvc.md @@ -1,4 +1,4 @@ -# WebApp +# WebApp MVC <<< @/../samples/WebApp/Program.cs diff --git a/samples/WebApp/Program.cs b/samples/WebApp/Program.cs index a2148484..b0f7d474 100644 --- a/samples/WebApp/Program.cs +++ b/samples/WebApp/Program.cs @@ -31,7 +31,7 @@ } }; - // NOTE, the source for claims is id_token and not access token. + // NOTE, the source for claims is id_token and not access_token. // By default, id_token doesn't contain realm_roles claim // and you will need to create a mapper for that options.ClaimActions.MapUniqueJsonKey("realm_access", "realm_access");