Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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*