{"id":18431536,"url":"https://github.com/ahmedadelfahim/identity-server","last_synced_at":"2026-04-09T12:53:19.676Z","repository":{"id":40263323,"uuid":"492259422","full_name":"AhmedAdelFahim/identity-server","owner":"AhmedAdelFahim","description":"Authentication and Authorization Server.","archived":false,"fork":false,"pushed_at":"2022-05-23T08:48:37.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T01:16:38.702Z","etag":null,"topics":["authentication","authorization","mongodb","mongoose","nodejs","redis"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/AhmedAdelFahim.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}},"created_at":"2022-05-14T15:49:04.000Z","updated_at":"2022-05-17T09:31:34.000Z","dependencies_parsed_at":"2022-08-17T19:50:34.425Z","dependency_job_id":null,"html_url":"https://github.com/AhmedAdelFahim/identity-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedAdelFahim%2Fidentity-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedAdelFahim%2Fidentity-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedAdelFahim%2Fidentity-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedAdelFahim%2Fidentity-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmedAdelFahim","download_url":"https://codeload.github.com/AhmedAdelFahim/identity-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804824,"owners_count":21164135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["authentication","authorization","mongodb","mongoose","nodejs","redis"],"created_at":"2024-11-06T05:25:17.738Z","updated_at":"2025-12-30T23:05:09.051Z","avatar_url":"https://github.com/AhmedAdelFahim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Identity Server\n\nAuthentication and Authorization Server.\n\n## Getting Started\n\nThese steps will get you a copy of the project up and running for development and testing purposes.\n\n## Installation\n\n1.  Install  **Nodejs** _latest stable version_\n2.  Install  **npm** _latest stable version_\n3.  Install  **mongoDB** _latest stable version_\n4.  Install  **redis** _latest stable version_\n5. _Optional Step_ ⇒ You can install **MongoDB Compass** [any user interface application for MongoDB] as it offers a user interface for dealing with the database\n6.  Clone the Project\n7.\tRun the following commands:\n\t```\n\tnpm install\n\tcp .env.example .env\n\t```\n8. write required variables in .env\n\n## Usage\n\n1. for running localy\n  ```\n  npm run start\n  ```\n2. for testing\n  ```\n  npm run test\n  ```\n  \n## Running Using Docker\n1. write required variables in docker-compose.yml\n2. Run the following commands:\n  ```\n  docker-compose up\n  ```\n\n## [API Documentation](https://documenter.getpostman.com/view/20985353/UyxjFksf)\n\n## Built With\n\n1. [Nodejs](https://nodejs.org/en/)\n2. [Redis](https://github.com/redis/node-redis)\n3. [Mongodb](https://docs.mongodb.com/)\n\n## Server Features\n- [X] We can create user.\n- [X] We can give user permissions on specific action.\n- [X] We can revoke permissions from user on specific action.\n- [X] Server can authenticate user to access a system.\n- [X] Server can check user's permissions before do an action.\n- [X] Server can force user to be logout from system.\n## Todo\n- [ ] increase test coverage\n- [ ] handle owasp vulnerabilities\n- [ ] deploy app\n- [X] dockerize app\n- [ ] secure creation services\n- [ ] implement refresh token\n- [ ] convert postman documentation to swagger documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedadelfahim%2Fidentity-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedadelfahim%2Fidentity-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedadelfahim%2Fidentity-server/lists"}