Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dragos-tudor/identity-app
Identity app with rewritten ASPNET security, react core, react router and redux libraries.
https://github.com/dragos-tudor/identity-app
aspnet aspnetcore cookies deno functional identity ouath2 react react-router redux security
Last synced: about 2 months ago
JSON representation
Identity app with rewritten ASPNET security, react core, react router and redux libraries.
- Host: GitHub
- URL: https://github.com/dragos-tudor/identity-app
- Owner: dragos-tudor
- License: mit
- Created: 2024-08-07T07:47:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T19:38:49.000Z (4 months ago)
- Last Synced: 2024-10-14T08:20:57.323Z (3 months ago)
- Topics: aspnet, aspnetcore, cookies, deno, functional, identity, ouath2, react, react-router, redux, security
- Language: JavaScript
- Homepage:
- Size: 1.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Identity app
Identity SPA application use my *functional* [C#](https://github.com/dragos-tudor/backend-security)/[JS](https://github.com/dragos-tudor/frontend-rendering) libraries in *real-world* scenarios.
- backend: main focus is on cookies and OAuth2 authentications.
- frontend: main focus is on rendering, routing and states management using jsx components.### Identity app libraries
- [ASPNET-like security libraries](https://github.com/dragos-tudor/backend-security).
- [React-like core library](https://github.com/dragos-tudor/frontend-rendering).
- [React-like routing library](https://github.com/dragos-tudor/frontend-routing).
- [React-like redux library](https://github.com/dragos-tudor/frontend-states).### Identity app structure
- [backend-api project](./backend-api/) manage signin/signout cookies and OAuth2 requests.
- [backend-app project](./backend-app/) static files server over [wwwroot](./backend-app/wwwroot/) folder.
- [frontend-app module](./frontend-app/) contains index files and resources [scripts, images].
- [frontend-components module](./frontend-components/) contains jsx components used to build SPA UI.### Identity app running steps
- generate *localhost certificates* and install *CA certificate* in browsers [see here](./OBS.md).
- create *backend-api/secrets.json* file and set OAuth2 providers credentials [see here structure](./OBS.md).
```sh
dotnet restore
dotnet build --no-restore
./start.sh # docker exec -it -u root identity-app chmod u+x /workspaces/identity-app/start.sh
```### Remarks
- tested only with Google OAuth2 provider. Reopen-closed accounts Twitter & Facebook wip.
- [ASPNET Core](https://dotnet.microsoft.com/en-us/apps/aspnet) used to run backend api & app.
- [Deno](https://deno.com/) used to build frontend app & components.*SIMPLE ALWAYS MEANS SIMPLE*