Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienbod/auth0angularaspnetcoreapi
Auth0 with Angular and an ASP.NET Core API
https://github.com/damienbod/auth0angularaspnetcoreapi
angular aspnet-core authn authz oauth oauth2 oidc openid-connect refresh revocation
Last synced: 19 days ago
JSON representation
Auth0 with Angular and an ASP.NET Core API
- Host: GitHub
- URL: https://github.com/damienbod/auth0angularaspnetcoreapi
- Owner: damienbod
- License: mit
- Created: 2021-05-14T13:36:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-26T14:13:08.000Z (12 months ago)
- Last Synced: 2024-10-06T09:41:57.108Z (about 1 month ago)
- Topics: angular, aspnet-core, authn, authz, oauth, oauth2, oidc, openid-connect, refresh, revocation
- Language: TypeScript
- Homepage: https://damienbod.com/2021/05/24/secure-an-angular-spa-and-an-asp-net-core-api-using-auth0/
- Size: 1.54 MB
- Stars: 17
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auth0 with Angular and an ASP.NET Core API
[![.NET](https://github.com/damienbod/Auth0AngularAspNetCoreApi/workflows/.NET/badge.svg)](https://github.com/damienbod/Auth0AngularAspNetCoreApi/actions?query=workflow%3A.NET)
## Blogs
Secure an Angular SPA and an ASP.NET Core API using Auth0
https://damienbod.com/2021/05/24/secure-an-angular-spa-and-an-asp-net-core-api-using-auth0/
> [!NOTE]
> Switch to BFF security
>
> It is now recommended to use backend for frontend security instead of two separate applications with seperate security contexts.
>
> See the following for implementation details:
>
> https://github.com/damienbod/bff-aspnetcore-angular## History
- 2023-11-26 Updated .NET 8
- 2023-11-03 Updated packages, fixed security headers
- 2023-02-19 Updated to .NET 7 and Angular 15
- 2022-10-21 Updated packages
- 2022-04-18 Updated packages, OIDC angular V14, using nullable
- 2022-02-11 Updated packages and namespaces
- 2022-01-28 Updated packages, .NET 6
- 2021-08-22 Updated packages, improved security headers
- 2021-07-01 Updated to OIDC V12## Links
https://www.npmjs.com/package/angular-auth-oidc-client
https://auth0.com/docs/quickstart/webapp/aspnet-core
https://docs.microsoft.com/en-us/aspnet/core/security/authorization/introduction
https://openid.net/connect/