{"id":22191602,"url":"https://github.com/vip32/blazorise-server-aad","last_synced_at":"2026-05-04T02:38:37.425Z","repository":{"id":136684074,"uuid":"283474026","full_name":"vip32/blazorise-server-aad","owner":"vip32","description":"blazor server+ aad demo","archived":false,"fork":false,"pushed_at":"2020-10-15T20:17:59.000Z","size":915,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T20:43:37.011Z","etag":null,"topics":["aad","blazor","csharp"],"latest_commit_sha":null,"homepage":"https://blazorise-server-aad.azurewebsites.net/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vip32.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-07-29T10:55:14.000Z","updated_at":"2020-10-15T20:18:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e1a4f17-0321-4be3-aad4-f51ff6899362","html_url":"https://github.com/vip32/blazorise-server-aad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vip32/blazorise-server-aad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vip32%2Fblazorise-server-aad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vip32%2Fblazorise-server-aad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vip32%2Fblazorise-server-aad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vip32%2Fblazorise-server-aad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vip32","download_url":"https://codeload.github.com/vip32/blazorise-server-aad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vip32%2Fblazorise-server-aad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32592718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aad","blazor","csharp"],"created_at":"2024-12-02T12:16:46.822Z","updated_at":"2026-05-04T02:38:37.420Z","avatar_url":"https://github.com/vip32.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blazorise-server-aad\n\n+ Blazor Server\n\n+ Blazorise: https://github.com/stsrki/Blazorise\n\n+ AAD app roles: https://docs.microsoft.com/en-us/azure/architecture/multitenant-identity/app-roles\n+ AAD + GraphApi + new Microsoft.Identity.Web: https://developer.microsoft.com/en-us/identity/blogs/how-to-build-a-blazor-web-app-with-azure-active-directory-authentication-and-microsoft-graph/\n\n\n### Azure Setup\n- create an AAD app registration (usualy done when creating new webapp in VS + Authentication)\n- App registration generate clientsecret, put in appsettings.clientsecret\n- App registration (setup roles), change manifest (JSON) \n```\n\"appRoles\": [\n        {\n            \"allowedMemberTypes\": [\n                \"User\"\n            ],\n            \"description\": \"Editors Have the ability to manage owned tasks.\",\n            \"displayName\": \"Editor\",\n            \"id\": \"d1c2ade8-98f8-45fd-aa4a-6d06b947c31f\",\n            \"isEnabled\": true,\n            \"lang\": null,\n            \"origin\": \"Application\",\n            \"value\": \"Editor\"\n        },\n        {\n            \"allowedMemberTypes\": [\n                \"User\"\n            ],\n            \"description\": \"Administrator Have the ability to manage all tasks.\",\n            \"displayName\": \"Administrator\",\n            \"id\": \"d1c2ade8-98f8-45fd-aa4a-6d06b947c30f\",\n            \"isEnabled\": true,\n            \"lang\": null,\n            \"origin\": \"Application\",\n            \"value\": \"Administrator\"\n        }\n    ],\n```\n- Enterprise application, add User + assing Role\n- Application, role available as claim (See Pages\\Dashboard.razor)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvip32%2Fblazorise-server-aad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvip32%2Fblazorise-server-aad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvip32%2Fblazorise-server-aad/lists"}