{"id":36924248,"url":"https://github.com/Adddedtiya/BlazorCookieAuthentication","last_synced_at":"2026-01-28T10:01:01.085Z","repository":{"id":223656349,"uuid":"550917114","full_name":"Adddedtiya/BlazorCookieAuthentication","owner":"Adddedtiya","description":"Blazor Cookie based authentication and authorization template ","archived":false,"fork":false,"pushed_at":"2024-04-09T12:41:11.000Z","size":228,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"new-master","last_synced_at":"2024-04-09T16:38:04.792Z","etag":null,"topics":["blazor","blazor-server","blazor-template","csharp","dotnet"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Adddedtiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-10-13T14:34:28.000Z","updated_at":"2024-04-09T12:35:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"97e6e27d-67ba-408d-bc6e-75e6a49f833e","html_url":"https://github.com/Adddedtiya/BlazorCookieAuthentication","commit_stats":null,"previous_names":["adddedtiya/blazorcookieauthentication"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/Adddedtiya/BlazorCookieAuthentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adddedtiya%2FBlazorCookieAuthentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adddedtiya%2FBlazorCookieAuthentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adddedtiya%2FBlazorCookieAuthentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adddedtiya%2FBlazorCookieAuthentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Adddedtiya","download_url":"https://codeload.github.com/Adddedtiya/BlazorCookieAuthentication/tar.gz/refs/heads/new-master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adddedtiya%2FBlazorCookieAuthentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28844011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","blazor-server","blazor-template","csharp","dotnet"],"created_at":"2026-01-12T19:00:25.490Z","updated_at":"2026-01-28T10:01:01.078Z","avatar_url":"https://github.com/Adddedtiya.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Blazor Server Cookie Authentication\nMostly ready to use Cookie session Based Authorization. (Updated to use the new .net8 template, configued to Blazor Server)\n \n## How To use\n\nClone this reposity (or download the zip), on the repository (or the extracted zip) \n```\ndotnet new install ./  \n```\n\nThis will create a new Template in dotnet called `Blazor Server Cookie Based Auth` or `blazorcookie` for short \n```\nTemplate Name                                 Short Name                  Language    Tags\n--------------------------------------------  --------------------------  ----------  ------------------------------\nBlazor Server App                             blazorserver                [C#]        Web/Blazor\nBlazor Server Cookie Based Auth               blazorcookie                [C#]        Web/Blazor/Blazor Server           \u003c-- HERE\nBlazor Web App                                blazor                      [C#]        Web/Blazor/WebAssembly\nBlazor WebAssembly Standalone App             blazorwasm                  [C#]        Web/Blazor/WebAssembly/PWA\n```\n\nWith this you can create a new project based on this template such as\n```\ndotnet new blazorcookie -o MyProjectName\n```\nwith \"MyProjectName\" beeing the name of your new project, based on this Template\n\n## What included \n\nA mostly included bell and whistles such as roles, authorizations, basic password hashing and verification and such, with examples on it are spread around this template allowing for easy use and adaptation.   \n\nExamples / Parts / Whistles included are :\n\n - JS Interop for Cookies Read, Write, and Delete\n - Basic Password Hashing and Verification \n - AuthenticationStateProvider overloading \n - Easy to extend UserData class template\n - Basic database interface to implement \n - dotnet roles and claims authorizations\n\nIn the included demo \"FakeDatabase\" there are 2  in users with the following credentials \n\n|ID |Username| Password     | Role          |\n|-- |--      |--            | --            |\n| 1 | Admin  | Password1    | Administrator |\n| 2 | User1  | Password1    | Standard      |\n\n\nThe ready to use template are available on release tab and can be use directly on dotnet templates, also we welcome any pull requests.\n\n## Credits\nThis Template is based on multiple Blazor Auth Example online, with the following names examples help me to further understand how to implement this\n- [Kazi Mushfiqur Rahman](https://github.com/mushfiq1998/BlazorServerAuthenticationAndAuthorization/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAdddedtiya%2FBlazorCookieAuthentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAdddedtiya%2FBlazorCookieAuthentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAdddedtiya%2FBlazorCookieAuthentication/lists"}