https://github.com/connectycube/custom-idp-starter-kit
ConnectyCube Custom identity provider Starter Kit
https://github.com/connectycube/custom-idp-starter-kit
Last synced: about 2 months ago
JSON representation
ConnectyCube Custom identity provider Starter Kit
- Host: GitHub
- URL: https://github.com/connectycube/custom-idp-starter-kit
- Owner: ConnectyCube
- License: mit
- Created: 2020-11-27T13:38:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T13:22:00.000Z (about 1 year ago)
- Last Synced: 2025-03-19T14:27:35.846Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://developers.connectycube.com/guides/custom-identity-provider
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://stand-with-ukraine.pp.ua)
# ConnectyCube Custom identity provider Starter Kit
A starter demo project for using Custom identity provider service for ConnectyCube
Custom Identity Provider (CIdP) feature is necessary if you need to use an external database (your own users data base) to authenticate your application users instead of database on ConnectyCube server.
With Custom Identity Provider feature you can continue using your user database instead of storing/copying user data to ConnectyCube server. It works in a similar way to Facebook/Twitter SSO.
A more detailed guide about the feature:
https://developers.connectycube.com/guides/custom-identity-provider
## Installation
`npm install`
## Run
Run locally:
`DEBUG=custom-idp-starter-kit:* npm start`
Run on the server (use Nginx as a revers proxy):
`pm2 start ./bin/www`
## Testing
Request (both GET & POST are supported):
`curl -d "token=aUserAccessToken" -X POST http://localhost:3000/user/verify`
`curl -X GET http://localhost:3000/user/verify?token=aUserAccessToken`
Response:
`{"uid": xxxxxx}`
## Have an issue?
Join our [Discord](https://discord.com/invite/zqbBWNCCFJ) for quick answers to your questions
## Community
- [Blog](https://connectycube.com/blog)
- X (twitter)[@ConnectyCube](https://x.com/ConnectyCube)
- [Facebook](https://www.facebook.com/ConnectyCube)
