{"id":17931057,"url":"https://github.com/nguynthuhigh/sso-pointer","last_synced_at":"2025-03-24T04:31:36.060Z","repository":{"id":259044872,"uuid":"860385283","full_name":"nguynthuhigh/sso-pointer","owner":"nguynthuhigh","description":"This is a Single Sign-On (SSO) service built using the NestJS framework, provide security and seamless user login across multiple applications","archived":false,"fork":false,"pushed_at":"2024-11-14T14:41:10.000Z","size":190,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T02:11:25.111Z","etag":null,"topics":["mongodb","nestjs","nodejs","pointer","sso","sso-authentication"],"latest_commit_sha":null,"homepage":"https://sso-pointer.vercel.app/login","language":"TypeScript","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/nguynthuhigh.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":"2024-09-20T10:36:47.000Z","updated_at":"2024-11-14T14:41:13.000Z","dependencies_parsed_at":"2024-10-22T18:58:56.311Z","dependency_job_id":null,"html_url":"https://github.com/nguynthuhigh/sso-pointer","commit_stats":null,"previous_names":["nguynthuhigh/sso-pointer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguynthuhigh%2Fsso-pointer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguynthuhigh%2Fsso-pointer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguynthuhigh%2Fsso-pointer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguynthuhigh%2Fsso-pointer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nguynthuhigh","download_url":"https://codeload.github.com/nguynthuhigh/sso-pointer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245211247,"owners_count":20578378,"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":["mongodb","nestjs","nodejs","pointer","sso","sso-authentication"],"created_at":"2024-10-28T21:19:20.387Z","updated_at":"2025-03-24T04:31:36.053Z","avatar_url":"https://github.com/nguynthuhigh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://auth.pointer.io.vn/\" target=\"blank\"\u003e\u003cimg src=\"https://i.imgur.com/5cYzRrm.png\" width=\"120\" alt=\"Pointer Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**[OAuth Pointer Node.js Library](https://pointer.io.vn/)**\n\n**[OAuth Pointer Github](https://github.com/nguynthuhigh/oauth-pointer-npm)**\n\n# Installing\n\n```\nnpm install oauth-pointer\n# or\nyarn add oauth-pointer\n```\n\n# Documentation\n\n# Usage\n\n\u003e [!NOTE]\n\u003e The package needs clientId, clientSecret to configure, which you can get at **[Pointer Apps](https://auth.pointer.io.vn/)**\n\n```typescript\nimport { PointerStrategy } from 'oauth-pointer';\n\nconst pointer = new PointerStrategy({\n  clientId: process.env.POINTER_CLIENT_ID,\n  clientSecret: process.env.POINTER_CLIENT_SECRET,\n  callbackUrl: process.env.POINTER_CALLBACK_URL,\n});\nconst accessToken = await pointer.getAccessToken('code');\nconsole.log(accessToken);\n```\n\nor Javascript\n\n```javascript\nconst { PointerStrategy } = require('oauth-pointer');\n\nconst pointer = new PointerStrategy({\n  clientId: process.env.POINTER_CLIENT_ID,\n  clientSecret: process.env.POINTER_CLIENT_SECRET,\n  callbackUrl: process.env.POINTER_CALLBACK_URL,\n});\nconst accessToken = await pointer.getAccessToken('code');\nconsole.log(accessToken);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnguynthuhigh%2Fsso-pointer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnguynthuhigh%2Fsso-pointer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnguynthuhigh%2Fsso-pointer/lists"}