{"id":16473781,"url":"https://github.com/kingrayhan/poc.express.jwt-refresh-token","last_synced_at":"2025-06-25T03:34:36.431Z","repository":{"id":42480406,"uuid":"215046175","full_name":"kingRayhan/poc.express.jwt-refresh-token","owner":"kingRayhan","description":"Demmy login api with refresh token","archived":false,"fork":false,"pushed_at":"2022-12-22T12:42:57.000Z","size":184,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T10:11:21.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dummy-jwt-refresh-token-api.vercel.app/","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/kingRayhan.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":"2019-10-14T13:05:39.000Z","updated_at":"2024-11-27T07:35:51.000Z","dependencies_parsed_at":"2023-01-30T09:00:25.618Z","dependency_job_id":null,"html_url":"https://github.com/kingRayhan/poc.express.jwt-refresh-token","commit_stats":null,"previous_names":["kingrayhan/poc.express.jwt-refresh-token"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kingRayhan/poc.express.jwt-refresh-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingRayhan%2Fpoc.express.jwt-refresh-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingRayhan%2Fpoc.express.jwt-refresh-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingRayhan%2Fpoc.express.jwt-refresh-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingRayhan%2Fpoc.express.jwt-refresh-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kingRayhan","download_url":"https://codeload.github.com/kingRayhan/poc.express.jwt-refresh-token/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingRayhan%2Fpoc.express.jwt-refresh-token/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261799170,"owners_count":23211350,"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":[],"created_at":"2024-10-11T12:28:10.475Z","updated_at":"2025-06-25T03:34:36.409Z","avatar_url":"https://github.com/kingRayhan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Authentication api for testing\n\n## APIS\n\n#### POST /auth/login\n\n```\n\n=\u003e payload\n{\n    \"email\": \"example@example.com\",\n    \"password\": \"pa$$word\"\n}\n\n=\u003e Response: 200 OK\n{\n    \"token\": {\n        \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI0OGYxMmU3NS02NGM0LTRlZTItODU0NC0xZTk3YzQ4YWE0YTAiLCJuYW1lIjoiUmljayBCZWNodGVsYXIgViIsImVtYWlsIjoiZXhhbXBsZUBleGFtcGxlLmNvbSIsImpvaW5lZCI6IjIwMjEtMDctMTZUMTk6MjI6MDguMzI4WiIsImF2YXRhciI6Imh0dHBzOi8vY2xvdWRmbGFyZS1pcGZzLmNvbS9pcGZzL1FtZDNXNUR1aGdIaXJMSEdWaXhpNlY3NkxoQ2taVXo2cG5GdDVBSkJpeXZIeWUvYXZhdGFyLzEwNDAuanBnIiwiaWF0IjoxNjQ5MDMyMTIzLCJleHAiOjE2NDkwMzIxODN9.Cuzt53iwC76mhBJ-k2e6HZmCKV_VMAP5LiNg2Vhzmb8\",\n        \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI0OGYxMmU3NS02NGM0LTRlZTItODU0NC0xZTk3YzQ4YWE0YTAiLCJuYW1lIjoiUmljayBCZWNodGVsYXIgViIsImVtYWlsIjoiZXhhbXBsZUBleGFtcGxlLmNvbSIsImpvaW5lZCI6IjIwMjEtMDctMTZUMTk6MjI6MDguMzI4WiIsImF2YXRhciI6Imh0dHBzOi8vY2xvdWRmbGFyZS1pcGZzLmNvbS9pcGZzL1FtZDNXNUR1aGdIaXJMSEdWaXhpNlY3NkxoQ2taVXo2cG5GdDVBSkJpeXZIeWUvYXZhdGFyLzEwNDAuanBnIiwiaWF0IjoxNjQ5MDMyMTIzLCJleHAiOjE2NDk2MzY5MjN9.cP3iUrj8MAw3RlObG9y25KpI2D8fQUkTTi8DzX8_RlU\"\n    }\n}\n\n=\u003e Response: 401 Unauthorized\n{\n    \"message\": \"Invalid credentials\"\n}\n```\n\n#### POST /auth/refresh\n\n```bash\n// TODO:\n```\n\n#### POST /auth/me\n\n```bash\n// TODO:\n```\n\n#### POST /protected-route\n\n```bash\n// TODO:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingrayhan%2Fpoc.express.jwt-refresh-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkingrayhan%2Fpoc.express.jwt-refresh-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingrayhan%2Fpoc.express.jwt-refresh-token/lists"}