# poc-angularjs-jwt-rest **Repository Path**: mirrors_un33k/poc-angularjs-jwt-rest ## Basic Information - **Project Name**: poc-angularjs-jwt-rest - **Description**: This application is a proof-of-concept (PoC) of using AngularJS with secured REST service with session handling and authorization. It is using JWT - JSON Web Token. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # README This application is a proof-of-concept (PoC) of using AngularJS with secured REST service with session handling and authorization. It is using JTW - JSON Web Token. Session data hashed on the server side and immutable by the client application (but readable). All request update the Authorization header, so token will be short-term (improve security - session management). Based on https://github.com/auth0/angular-token-auth JWT more information: https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/ http://mariuszprzydatek.com/2013/07/12/jwt-json-web-tokens/ http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20 for java backend: http://mvnrepository.com/artifact/org.springframework.security/spring-security-jwt __IT IS A PROOF-OF-CONCEPT! DO NOT USE IN PRODUCTION.__ ## Install and run Set correct working dir in app.server.js: workingDir bower install npm install cd test/mock_server nodejs app.server.js http://localhost:8080/app/index.html ## Tips If you have __Error: listen EADDRINUSE__ then change the port number in app.listen