{"id":20911174,"url":"https://github.com/codeforgeek/node-refresh-token","last_synced_at":"2025-07-06T22:08:37.150Z","repository":{"id":43921638,"uuid":"126631355","full_name":"codeforgeek/node-refresh-token","owner":"codeforgeek","description":"Implement Refresh Token Authentication Using Node and JWT","archived":false,"fork":false,"pushed_at":"2018-03-24T19:08:42.000Z","size":2,"stargazers_count":93,"open_issues_count":2,"forks_count":41,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-13T07:41:26.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codeforgeek.com/refresh-token-jwt-nodejs-authentication/","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/codeforgeek.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":"2018-03-24T19:03:16.000Z","updated_at":"2024-06-12T09:16:36.000Z","dependencies_parsed_at":"2022-08-28T23:12:28.788Z","dependency_job_id":null,"html_url":"https://github.com/codeforgeek/node-refresh-token","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeforgeek/node-refresh-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2Fnode-refresh-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2Fnode-refresh-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2Fnode-refresh-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2Fnode-refresh-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeforgeek","download_url":"https://codeload.github.com/codeforgeek/node-refresh-token/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2Fnode-refresh-token/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263980180,"owners_count":23538922,"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-11-18T14:19:36.527Z","updated_at":"2025-07-06T22:08:37.135Z","avatar_url":"https://github.com/codeforgeek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-refresh-token\nImplement Refresh Token Authentication Using Node and JWT\n\nClone the repository and switch to the project directory.\n\nInstall dependencies using ```npm install``` command then run the code using following command.\n\n```node app.js```\n\nGive following API calls to check the working.\n\n```/login```\n\npost data =\u003e \n\n```\n{\n\t\"email\": \"shahid@codeforgeek.com\",\n\t\"name\": \"Shahid\"\n}\n```\n\n```/secure```\n\nin headers provide,\n\n```x-access-header=access token from the previous API```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforgeek%2Fnode-refresh-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforgeek%2Fnode-refresh-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforgeek%2Fnode-refresh-token/lists"}