{"id":19099720,"url":"https://github.com/mmacneil/AngularASPNETCore2WebApiAuth","last_synced_at":"2025-04-18T17:31:47.083Z","repository":{"id":28332589,"uuid":"115800583","full_name":"mmacneil/AngularASPNETCore2WebApiAuth","owner":"mmacneil","description":"Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi.  Includes both local user registration with .NET Core Identity membership and facebook login scenarios.","archived":false,"fork":false,"pushed_at":"2023-02-27T19:27:52.000Z","size":1005,"stargazers_count":472,"open_issues_count":17,"forks_count":238,"subscribers_count":51,"default_branch":"master","last_synced_at":"2024-11-08T02:53:31.481Z","etag":null,"topics":["angular","angular5","aspnet-core","aspnet-core-2","facebook-login","oauth2","webapi"],"latest_commit_sha":null,"homepage":"https://fullstackmark.com/post/13/jwt-authentication-with-aspnet-core-2-web-api-angular-5-net-core-identity-and-facebook-login","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/mmacneil.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}},"created_at":"2017-12-30T14:05:07.000Z","updated_at":"2024-11-03T23:32:17.000Z","dependencies_parsed_at":"2024-11-08T03:03:49.485Z","dependency_job_id":null,"html_url":"https://github.com/mmacneil/AngularASPNETCore2WebApiAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAngularASPNETCore2WebApiAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAngularASPNETCore2WebApiAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAngularASPNETCore2WebApiAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmacneil%2FAngularASPNETCore2WebApiAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmacneil","download_url":"https://codeload.github.com/mmacneil/AngularASPNETCore2WebApiAuth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783108,"owners_count":17201903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["angular","angular5","aspnet-core","aspnet-core-2","facebook-login","oauth2","webapi"],"created_at":"2024-11-09T03:52:13.624Z","updated_at":"2024-11-09T03:52:15.005Z","avatar_url":"https://github.com/mmacneil.png","language":"C#","readme":"# AngularASPNETCore2WebApiAuth\nSample project based on \u003ca href=\"https://fullstackmark.com/post/13/jwt-authentication-with-aspnet-core-2-web-api-angular-5-net-core-identity-and-facebook-login\"\u003ethe blog post\u003c/a\u003e demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.\n\n### Facebook flow\n\u003cimg src=\"https://fullstackmark.com/img/posts/13/angular-spa-aspnet-core-web-api-authentication-with-facebook-login-flow.gif\" /\u003e\n\n### Email flow\n\u003cimg src=\"https://fullstackmark.com/img/posts/13/angular-spa-aspnet-core-web-api-authentication-with-email-signup-flow.gif\" /\u003e\n\n## Development Environment\n- Sql Server Express 2017 \u0026 Sql Server Management Studio 2017\n- Runs in both Visual Studio 2017 \u0026 Visual Studio Code\n- Node 8.9.4 \u0026 NPM 5.6.0\n- .NET Core 2.0 sdk\n- Angular CLI -\u003e `npm install -g @angular/cli` https://github.com/angular/angular-cli\n \n\n## Setup\nTo build and run the project using the command line:\n1. Install npm packages with `src\u003enpm install` in the `src` directory.\n2. Restore nuget packages with `src\u003edotnet restore` in the `src` directory.\n3. Create the database with `src\u003edotnet ef database update` in the `src` directory.\n4. Run the project with `src\u003edotnet run` in the `src` directory.\n5. Point your browser to **http://localhost:5000**.\n\nOf course, you can also run it from either Visual Studio 2017 or Visual Studio Code with the IDE handling most of the steps above.  If you have issues, try running the above steps from the command line to ensure things are setup properly.\n\n## Facebook App Setup\nYou're free to use the demo facebook app _Fullstack Cafe_ that the project is already configured with.  To setup and use your own application \u003ca href=\"https://fullstackmark.com/post/13/jwt-authentication-with-aspnet-core-2-web-api-angular-5-net-core-identity-and-facebook-login#creating-a-facebook-application\"\u003efollow the steps detailed on the post\u003c/a\u003e.\n","funding_links":[],"categories":["angular","C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmacneil%2FAngularASPNETCore2WebApiAuth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmacneil%2FAngularASPNETCore2WebApiAuth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmacneil%2FAngularASPNETCore2WebApiAuth/lists"}