{"id":25803566,"url":"https://github.com/nikhilkashyap22/centralised-authentication-system","last_synced_at":"2026-06-07T22:33:44.629Z","repository":{"id":276744980,"uuid":"930151519","full_name":"NikhilKashyap22/Centralised-Authentication-System","owner":"NikhilKashyap22","description":"A centralised Authentication System using JWT for Microservices architecture projects","archived":false,"fork":false,"pushed_at":"2025-02-10T07:08:18.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T23:45:09.177Z","etag":null,"topics":["jwt","jwt-middleware","microservices"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NikhilKashyap22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-10T06:48:02.000Z","updated_at":"2025-02-10T07:08:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"405f4020-923f-4891-bb75-d7d5a56ac73a","html_url":"https://github.com/NikhilKashyap22/Centralised-Authentication-System","commit_stats":null,"previous_names":["nikhilkashyap22/centralised-authentication-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikhilKashyap22/Centralised-Authentication-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FCentralised-Authentication-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FCentralised-Authentication-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FCentralised-Authentication-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FCentralised-Authentication-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikhilKashyap22","download_url":"https://codeload.github.com/NikhilKashyap22/Centralised-Authentication-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FCentralised-Authentication-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34041087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jwt","jwt-middleware","microservices"],"created_at":"2025-02-27T17:56:30.833Z","updated_at":"2026-06-07T22:33:44.623Z","avatar_url":"https://github.com/NikhilKashyap22.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authentication Service\n\n![Spring Boot](https://img.shields.io/badge/Spring%20Boot-6DB33F?style=for-the-badge\u0026logo=spring-boot\u0026logoColor=white)\n![Hibernate](https://img.shields.io/badge/Hibernate-59666C?style=for-the-badge\u0026logo=hibernate\u0026logoColor=white)\n![MySQL](https://img.shields.io/badge/MySQL-4479A1?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)\n![JWT](https://img.shields.io/badge/JWT-000000?style=for-the-badge\u0026logo=json-web-tokens\u0026logoColor=white)\n\n## Overview\nThis Authentication Service is a Spring Boot application that provides token generation and validation using JWT (JSON Web Token). It does not include filters or security configuration. These must be implemented by the users of this project.\n\n## Features\n- Generates JWT tokens for authentication\n- Validates JWT tokens\n- Lightweight and easy to integrate with other Spring Boot applications\n\n## Technologies Used\n- **Spring Boot** - For building the backend service\n- **Hibernate JPA** - For ORM (Object Relational Mapping)\n- **MySQL** - As the database\n- **JWT** - For secure token-based authentication\n\n## Installation\n1. Clone the repository:\n   ```sh\n   git clone (https://github.com/NikhilKashyap22/Centralised-Authentication-System.git)\n   ```\n2. Navigate to the project directory:\n   ```sh\n   cd authentication-service\n   ```\n3. Build the project using Maven:\n   ```sh\n   mvn clean install\n   ```\n4. Run the application:\n   ```sh\n   mvn spring-boot:run\n   ```\n\n## Usage\n### Generate Token\nTo generate a JWT token, send a `POST` request to:\n```http\nPOST /api/auth/login\n```\nwith the required payload.\n\n### Validate Token\nTo validate a JWT token, send a `POST` request to:\n```http\nPOST /api/auth/validate\n```\nwith the token in the request body.\n\n## Important Notes\n- This project **only** generates and validates JWT tokens.\n- Filters and security configuration are **not** included and must be implemented separately.\n- Users must handle authentication, user management, and security filters in their own application.\n\n## Configuration\nUpdate the `application.properties` file with your MySQL configuration:\n```properties\nspring.datasource.url=jdbc:mysql://localhost:3306/auth_db\nspring.datasource.username=root\nspring.datasource.password=yourpassword\n```\n\n## License\nThis project is open-source and available under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilkashyap22%2Fcentralised-authentication-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilkashyap22%2Fcentralised-authentication-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilkashyap22%2Fcentralised-authentication-system/lists"}