{"id":18677411,"url":"https://github.com/persteenolsen/blazor-jwt-auth","last_synced_at":"2026-04-13T12:31:09.035Z","repository":{"id":227068836,"uuid":"770344307","full_name":"persteenolsen/blazor-jwt-auth","owner":"persteenolsen","description":"A Blazor  .NET 6 App Client using WebAssembly - making JWT AUTH towards a . NET 8 Web API","archived":false,"fork":false,"pushed_at":"2025-01-11T15:12:33.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-18T13:41:44.496Z","etag":null,"topics":["blazor","dotnet","webassembly"],"latest_commit_sha":null,"homepage":"https://blazor.jwt.auth.persteenolsen.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/persteenolsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-11T11:45:08.000Z","updated_at":"2025-01-11T15:12:36.000Z","dependencies_parsed_at":"2024-11-07T09:36:32.564Z","dependency_job_id":"416c9bbd-6f59-4f30-9fae-c385f912cded","html_url":"https://github.com/persteenolsen/blazor-jwt-auth","commit_stats":null,"previous_names":["persteenolsen/blazor-jwt-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/persteenolsen/blazor-jwt-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persteenolsen%2Fblazor-jwt-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persteenolsen%2Fblazor-jwt-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persteenolsen%2Fblazor-jwt-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persteenolsen%2Fblazor-jwt-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/persteenolsen","download_url":"https://codeload.github.com/persteenolsen/blazor-jwt-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persteenolsen%2Fblazor-jwt-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31752999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","dotnet","webassembly"],"created_at":"2024-11-07T09:33:49.700Z","updated_at":"2026-04-13T12:31:09.018Z","avatar_url":"https://github.com/persteenolsen.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blazor-webassembly-jwt-auth\n\nASP.NET Core Blazor WebAssembly - JWT Authentication Example\n\n# Last updated\n\n- 06-06-2025\n\n# Create a global json\n\ndotnet new globaljson --sdk-version 6.0.320 --force\n\n# Functionality of the Web App\n\n- JWT Authentication \n\n# Tech used for creating the Web App\n\n- A Blazor Webassembly Client towards a .NET 6 Web API\n- C#\n- Razor Pages\n- A traditional Webhotel for hosting\n- VS Code\n\n# Development\n\ndotnet run\n\n# Production\n\nCreate a self contained build for production at the remote server / traditionel web hotel\n\ndotnet publish blazorapp.csproj --configuration Release --runtime win-x86 --self-contained\n\nUpload the build to remote server\n\nAt my remote servers the web.config needs to be without the folowing:\n\nhostingModel=\"inprocess\"\n\n# Some issues to handle\n\n_imports.razor seems not to take of the loading of the Razor files\n\nTo solve that issue I have been loading the folders / files needed like in \"app.razor\":\n\n@using BlazorApp.Shared\n@using Microsoft.AspNetCore.Components.Routing\n@using BlazorApp.Helpers\n\nAdded the below in Blazorapp.csproj\n\nRootNameSpace - BlazorApp - RootNameSpace\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersteenolsen%2Fblazor-jwt-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpersteenolsen%2Fblazor-jwt-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersteenolsen%2Fblazor-jwt-auth/lists"}