Image

Simplify user login backend

When implementing signup and sign-in in your customer-facing applications, we recommend you to store all user records in the Databunker secure storage.

You can easily implement login logic with Databunker. You can develop a login by yourself or using a cloud login provider (Okta, Auth0, OneLogin, etc…). Upon successful login, for example, Okta and some others will return your customer email address or another kind of user identity.

In both cases, you will need to save customer email and other details somewhere and Databunker will be a perfect solution for that.

Databunker APIs support record lookup using one of 4 methods: lookup by login name, email address, phone number, and user token. Either way, you can easily implement login logics in your solution and use Databunker for the backend.


Product Live demo

The service live demo is available at https://demo.databunker.org/

Demo user credentials:

  • User phone: 4444
  • User code: 4444
  • Admin token: DEMO

Getting Started

The easiest way to get started with Databunker is to run it as a Docker container:

docker run -p 3000:3000 -d --rm --name dbunker paranoidguy/databunker demo

This command starts a local container with a DEMO root access key. You can use it for the development of testing. For a production installation, follow this installation guide.

Connecting to Databunker

You can interact with Databunker using:

Create user record

curl -s http://localhost:3000/v1/user -X POST -H "X-Bunker-Token: DEMO" \
  -H "Content-Type: application/json" \
  -d '{"first":"John","last":"Doe","login":"john","phone":"4444","email":"user@gmail.com"}'

Fetch user by email

curl -s -H "X-Bunker-Token: DEMO" -X GET http://localhost:3000/v1/user/email/user@gmail.com

Fetch user by login

curl -s -H "X-Bunker-Token: DEMO" -X GET http://localhost:3000/v1/user/login/john

Other commands:

For a full list of commands, follow the API document.

Support / Contact

Slack Channel