{"_id":"@bvndle/sso-client","_rev":"10-b483b9ed635cc66d3b6b6b48b5f73e1f","name":"@bvndle/sso-client","dist-tags":{"latest":"0.1.7"},"versions":{"0.0.1":{"name":"@bvndle/sso-client","version":"0.0.1","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.0.1","maintainers":[{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"315e1d0708a35da4c97153870d0f33259e99f6a5","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.0.1.tgz","fileCount":6,"integrity":"sha512-gmP2GLLq7yqH1zsDEEW9U2jlc0/NwcX9pROMbr1JE2NJOkv0vUTmkarD0cLOXpCJtVcjA0yINZuUgrXf2rJKkQ==","signatures":[{"sig":"MEUCIG6I0KV9b6uuXBPt6KtrEb0MB4b+b4qvTLEz9D9NJMCaAiEAsCrUJHXRsR3ryLGZZbNKUuC/FDiXwbdAH1r6UVBpuCE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8735},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"build":"tsup"},"_npmUser":{"name":"johnphealipto","email":"johnadibe450@gmail.com"},"_npmVersion":"10.9.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"23.8.0","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.0.1_1748276552016_0.31154225381301126","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@bvndle/sso-client","version":"0.1.0","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.0","maintainers":[{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"78a77f2c5404f10d665549c96e63926de77d503f","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.0.tgz","fileCount":6,"integrity":"sha512-xa5tv1Jacfs7CKWyvP3zKkvpiqEtva7DVU5rdIAllkpPrKb0v2vSWWsvytJI76Kdz4spuH6lyjjVl5kgDb/5cg==","signatures":[{"sig":"MEUCIQDi4G3lWi54Q20RzJdJsHRidpqPS2e+WXFr5f8bBHTgoAIgMg8eu9AVSbhoL5CLLmsaooMC23s4xKksw0yhdztibh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10707},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"3d26a50665409c13f6bfecee53774ec9feb9fd6f","scripts":{"build":"tsup"},"_npmUser":{"name":"johnphealipto","email":"johnadibe450@gmail.com"},"_npmVersion":"10.9.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"23.8.0","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.0_1748338376318_0.2115556861591088","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bvndle/sso-client","version":"0.1.1","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.1","maintainers":[{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"929f2f460caa96588e5ef592dfdf937d76af0485","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.1.tgz","fileCount":6,"integrity":"sha512-/WIToB4GxlK0l/ayefYdox3J16CrO/lBnIwfEh4m1NB0+E4Z+FPk9JAalaKLO8sWdTiiKCdsBJgNuLgfqtFnAg==","signatures":[{"sig":"MEUCIGszM3fFwj5R2SoGkDadsdPEmX3FF0PhRb67o4+cKBmAAiEAil2n1McgobX1bbB9bnmxDYB9cjLgv6jpq4oHbOFZybM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10712},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"76eda4ee00aabf8ff078b7d4d3dee13f6526b75a","scripts":{"build":"tsup"},"_npmUser":{"name":"johnphealipto","email":"johnadibe450@gmail.com"},"_npmVersion":"10.9.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"23.8.0","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.1_1748338625180_0.233790264313114","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bvndle/sso-client","version":"0.1.2","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.2","maintainers":[{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"332f751be4c12c41a5055be9beced44b1127d248","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.2.tgz","fileCount":6,"integrity":"sha512-3q0FOpMwMx+Iy6PHzv6wNM+ILa0rJ+Jy7BgH3EePLJphNRxlfbcvUq91cmz3zH4wJZfokkoasQE7yCTez5+Z3Q==","signatures":[{"sig":"MEQCIAlwpqeFS+pshDP32cQkUXERnS80fx7eeQKmpw8G4no1AiBp3CIMsSiCfosuTVJWbzEPvY+Xt1LrXKnCxSKBdWlZ2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10716},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"76eda4ee00aabf8ff078b7d4d3dee13f6526b75a","scripts":{"build":"tsup"},"_npmUser":{"name":"johnphealipto","email":"johnadibe450@gmail.com"},"_npmVersion":"10.9.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"23.8.0","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.2_1748344797639_0.2735209377195644","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bvndle/sso-client","version":"0.1.3","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.3","maintainers":[{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"cf75ab76e3577974e523a71df0b7b8fa7c51a94a","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.3.tgz","fileCount":6,"integrity":"sha512-t3LxYrdrRCSB6W2Eakero3U3BfThZpyMQfrMAhwSlfPHwpJbHGmMmklYYVsnxvojeVeI7psPkflucHMyqsFQAQ==","signatures":[{"sig":"MEYCIQCr9QgWf7wgECorbmSLXnaI8FhTWmi2xrPeIKLu9yMbmAIhANg5zu2QuZv8eDtTFU08rpgrpJ8SBfvppowomURZ7uF9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11157},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"76eda4ee00aabf8ff078b7d4d3dee13f6526b75a","scripts":{"build":"tsup"},"_npmUser":{"name":"johnphealipto","email":"johnadibe450@gmail.com"},"_npmVersion":"10.9.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"23.8.0","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.3_1748345114200_0.9309122624119823","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bvndle/sso-client","version":"0.1.4","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.4","maintainers":[{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"2c1b79931c983d92a97fb9acdaa21d8b8ab28365","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.4.tgz","fileCount":7,"integrity":"sha512-Q0T8C+1zBR04n/4P2gT3CW/LjG2KUoLviOd1dgCPBZs7z3PhNLuQStCfRG8aS80xUM62V7YWi5us3rfCf9Z4oQ==","signatures":[{"sig":"MEUCIEan1B+UZoU0IMC9Ve90LdIkWzcyFwVjA33pN5nGm4vkAiEAl2CeTlEkkRSrJzJUTEx5pvfg3z+1puy1fZVMavbrS5o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14595},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"8bed615ca6fa042b212b89f1330099ca7a08a989","scripts":{"build":"tsup"},"_npmUser":{"name":"johnphealipto","email":"johnadibe450@gmail.com"},"_npmVersion":"10.9.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"23.8.0","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.4_1754562251217_0.8209447791743996","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bvndle/sso-client","version":"0.1.5","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.5","maintainers":[{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"f626ccd191073f03cecd22557bbcd58899cd7f5b","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.5.tgz","fileCount":7,"integrity":"sha512-AXEpoykw45flR67XqWYQV3GIje3ZrQRZQsb11h9oDRIqwQRAuYr4VIDGd5NhN4OltAwbQy+C8PH+I62ny5Bzxg==","signatures":[{"sig":"MEUCIQDD1Oakj3LC4CJdiOK3InwX5SIcc3f7DLEf7rhcH4tNrQIgPoWp62wNAm5sFlsptwRoc+ml5GIJHAist8BiNuPW+Ig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14813},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"b1f1178c16dd0a11e3f3391a922f00a22d9dec28","scripts":{"build":"tsup"},"_npmUser":{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},"_npmVersion":"10.8.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.5_1776856330887_0.5947399623912042","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@bvndle/sso-client","version":"0.1.6","keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","_id":"@bvndle/sso-client@0.1.6","maintainers":[{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","dist":{"shasum":"ddb924787388707c73e28a56bd1afe042c400630","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.6.tgz","fileCount":7,"integrity":"sha512-bcUwTzmm8iL2X1Mh2M+NOWTTOH1RJEXLLWVud+VPFgGSBvixZvSurJxYfUxizy4NZDQt/r2W9+bEVUhvNFUkiw==","signatures":[{"sig":"MEYCIQDYk3T8Q8yESCOiFQLx7cZVSNCtdNmgiHd/mnD7It4XNQIhAPOetypkbSRLpAZGFOgXyq+FTZ7uw9HERdbSWln5ORaQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14995},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"0cdba134e78272b4c1fea858f0004a9a30238a29","scripts":{"build":"tsup"},"_npmUser":{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},"_npmVersion":"10.8.2","description":"Sign up with Bvndle SSO Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"axios":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/sso-client_0.1.6_1776960459139_0.5724192657496674","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@bvndle/sso-client","version":"0.1.7","description":"Sign up with Bvndle SSO Client","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","scripts":{"build":"tsup"},"keywords":["sso","login","bvndle","authentication"],"author":"","license":"MIT","devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"dependencies":{"axios":"^1.9.0"},"gitHead":"f0a5da4e6d5d6812d391b09eea5417d49cd09159","_id":"@bvndle/sso-client@0.1.7","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-IK806PhV6UNL5WQiDvwKr0MTEHF3UgVW526yTLXl0yq8/04UMM9wCg0g3Py22+r3c/vS6QgC/W2z0+l8SS4JJw==","shasum":"c70260512b3cdd60260e21942538e0d05d29d52a","tarball":"https://registry.npmjs.org/@bvndle/sso-client/-/sso-client-0.1.7.tgz","fileCount":7,"unpackedSize":14995,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAS2C7N61c2sYGmw4wHpjoe71OrsZszTyqHXdyIGSEPjAiEA3i7hwuRVOstlUTz2NSy6tF3G+WYpATMU7NXY+9RDvzw="}]},"_npmUser":{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},"directories":{},"maintainers":[{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sso-client_0.1.7_1779439767205_0.30795260471461394"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-26T16:22:31.920Z","modified":"2026-05-22T08:49:27.497Z","0.0.1":"2025-05-26T16:22:32.198Z","0.1.0":"2025-05-27T09:32:56.470Z","0.1.1":"2025-05-27T09:37:05.377Z","0.1.2":"2025-05-27T11:19:57.796Z","0.1.3":"2025-05-27T11:25:14.383Z","0.1.4":"2025-08-07T10:24:11.389Z","0.1.5":"2026-04-22T11:12:11.009Z","0.1.6":"2026-04-23T16:07:39.282Z","0.1.7":"2026-05-22T08:49:27.334Z"},"license":"MIT","homepage":"https://docs.bvndle.com/bvndle-sso/get-started-web","keywords":["sso","login","bvndle","authentication"],"description":"Sign up with Bvndle SSO Client","maintainers":[{"name":"lekanpsl","email":"lekan@theproductstudiohq.com"},{"name":"johnphealipto","email":"johnadibe450@gmail.com"}],"readme":"# Bvndle SSO Client\n\nSign up with Bvndle SSO Client. See [Onboard Partners](https://docs.bvndle.com/bvndle-sso/onboard-partners) to use Bvndle Partner services.\n\n## Quick start\n\nInstall\n\n```bash\nnpm install @bvndle/sso-client\n\n# or\n\nyarn add @bvndle/sso-client\n```\n\nUsage\n\n```tsx\nimport { initBvndleClient } from \"@bvndle/sso-client\";\n\nconst SSO_CLIENT = initBvndleClient({\n  env: \"<ENV>\",\n  clientId: \"<YOUR_CLIENT_ID>\",\n  scope: \"<SCOPE>\",\n  deviceType: \"<DEVICE_TYPE>\",\n  image: \"<AVATAR_FORMAT>\",\n  redirectUrl: \"<REDIRECT_URL>\",\n});\n\nconst App = () => {\n  SSO_CLIENT.handler({\n    onSuccess: (token) => {\n      // Do something with the token\n    },\n    onError: (err) => {\n      // Do something with the error\n    },\n  });\n\n  return (\n    <button type=\"button\" onClick={SSO_CLIENT.signIn}>\n      Sign in with Bvndle\n    </button>\n  );\n};\n```\n\nMerge user account with Bvndle\n\n```tsx\nconst onMergeAccount = () => {\n  SSO_CLIENT.mergeAccount({\n    userId: \"<USER_ID>\",\n    redirectUrl: \"<REDIRECT_URL>\",\n  });\n};\n\n<button type=\"button\" onClick={onMergeAccount}>\n  Merge Account\n</button>;\n```\n\n### Initializing Bvndle SSO Client `initBvndleClient`:\n\n| Param       | Type                               | Description                                                                            |\n| :---------- | :--------------------------------- | :------------------------------------------------------------------------------------- |\n| env         | `dev` \\| `prod`                    | Environment you want to use.                                                           |\n| clientId    | `string`                           | Client ID created after partner registration.                                          |\n| scope       | `email` \\| `fullname` \\| `profile` | (optional) Determines the user data that is returned. Default is `profile`.            |\n| deviceType  | `web` \\| `mobile`                  | (optional) Determines the type of redirectUrl returned. Default is `web`.              |\n| image       | `base64`                           | (optional) Determines whether you want the avatar in base64 format. Default is `null`. |\n| redirectUrl | `string`                           | (optional) A URL to redirect to once login is completed.                               |\n\n##\n\n### Merging user account with Bvndle `mergeAccount`:\n\n| Param       | Type     | Description                                          |\n| :---------- | :------- | :--------------------------------------------------- |\n| userId      | `string` | The registered user ID with the partner application. |\n| redirectUrl | `string` | (optional) The redirect URL after merge account.     |\n","readmeFilename":"README.md"}