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.

Databunker Live demo

Live demo URL:

You can use the following credentials:

  • User phone: 4444
  • User access 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 securitybunker/databunker demo

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

Connecting to Databunker

You can interact with Databunker using:

Create a 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":""}'

Fetch user record by email

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

Fetch user record 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