This is a proof of concept product for web socket authentication.
- NodeJS Typescript project - backend server
- Ionic5/ Angular8 project - fronend client
- Web Socket Authentication - 2 methods are implemented
- Web Socket connection lifecycle is managed by: src/services/chat.service.ts
- Token generation/ validation managed by: src/services/auth.service.ts
- Web Socket connection lifecycle is managed by: src/app/services/chat/chat.service.ts
- By default configured to use Auth method 1. Simply remove token from the socket URL for automatic fallback to method 2.