{"id":19999998,"url":"https://github.com/monntecc/auth-provider","last_synced_at":"2026-05-12T10:35:03.100Z","repository":{"id":154040541,"uuid":"583354061","full_name":"monntecc/auth-provider","owner":"monntecc","description":"OAuth2 Provider usign ASP .NET 6 and ReactJS with Typescript","archived":false,"fork":false,"pushed_at":"2023-09-27T09:51:21.000Z","size":4982,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-01T23:32:22.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":false,"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/monntecc.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":"2022-12-29T14:26:48.000Z","updated_at":"2023-04-04T18:54:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec9af1b1-772a-435f-9f70-471e4ff52c4d","html_url":"https://github.com/monntecc/auth-provider","commit_stats":null,"previous_names":["monntecc/auth-provider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monntecc/auth-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monntecc%2Fauth-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monntecc%2Fauth-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monntecc%2Fauth-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monntecc%2Fauth-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monntecc","download_url":"https://codeload.github.com/monntecc/auth-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monntecc%2Fauth-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32934735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"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":[],"created_at":"2024-11-13T05:13:31.844Z","updated_at":"2026-05-12T10:35:03.073Z","avatar_url":"https://github.com/monntecc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\r\n\r\nWeb app template by the Microsoft Devices Software Experiences team.\r\n\r\n# Client (front-end)\r\n\r\n- [React](https://reactjs.org/docs/getting-started.html) with [Redux](https://redux.js.org/introduction/getting-started) and [TypeScript](https://www.typescriptlang.org/docs)\r\n- [Microsoft Fabric UI](https://developer.microsoft.com/en-us/fluentui#/get-started)\r\n- [NSwag](https://github.com/RicoSuter/NSwag) generated DTOs and client for back-end API\r\n- [MSAL-React](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-react)\r\n- [MSAL-Browser](https://github.com/AzureAD/microsoft-authentication-library-for-js)\r\n\r\n# Service (back-end)\r\n\r\n- [.NET 6.0](https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/intro)\r\n- [MediatR](https://github.com/jbogard/MediatR) as [CQRS](https://docs.microsoft.com/en-us/azure/architecture/patterns/cqrs) implementation\r\n- [AutoMapper](https://github.com/AutoMapper/AutoMapper) handling Entity-to-DTO mapping\r\n- Unit and integration tests using [Moq](https://github.com/moq/moq4) and [MSTest](https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest)\r\n- [Swagger UI](https://github.com/swagger-api/swagger-ui)\r\n\r\n# How to run locally\r\n\r\n1. [Download and install the .NET Core SDK](https://dotnet.microsoft.com/download)\r\n    * If you don't have `localdb` available on your system, [Download and install SQL Server Express](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb)\r\n    * NOTE: We will remove the `localdb` requirement in a future PR\r\n2. Open a terminal such as **PowerShell**, **Command Prompt**, or **bash** and navigate to the `service` folder\r\n3. Run the following `dotnet` commands:\r\n```sh\r\ndotnet build\r\ndotnet run --project Microsoft.DSX.ProjectTemplate.API\r\n```\r\n3. Open your browser to: `https://localhost:44345/swagger`.\r\n4. In another terminal, navigate to the `client` folder and run the following `npm` commands:\r\n```sh\r\nnpm install\r\nnpm start\r\n```\r\n5. The webpack dev server hosts the front-end and your browser will open to: `http://localhost:3000`\r\n\r\n# Adding an Entity Framework Core migration\r\n\r\n1. Open a command prompt in the **Microsoft.DSX.ProjectTemplate.Data** folder.\r\n2. `dotnet tool install --global dotnet-ef`\r\n3. `dotnet ef migrations add \u003cNAME OF MIGRATION\u003e`\r\n\r\n# Removing the latest Entity Framework Core migration\r\n\r\n1. Open a command prompt in the **Microsoft.DSX.ProjectTemplate.Data** folder.\r\n2. `dotnet ef migrations remove`\r\n\r\n# To-Do\r\n\r\n1. Migrate to MSAL.js\r\n2. Include Authentication and Authorization logic\r\n3. Update dockerfile\r\n4. Move away from localdb\r\n5. Create a CLI setup wizard\r\n\r\n# Contributing\r\n\r\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\r\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\r\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\r\n\r\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\r\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\r\nprovided by the bot. You will only need to do this once across all repos using our CLA.\r\n\r\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\r\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\r\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonntecc%2Fauth-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonntecc%2Fauth-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonntecc%2Fauth-provider/lists"}