How does it work

Step 1:

Download our app from Google or Apple
Image placeholder

The client app is free

Offered on both platforms - Android and Apple

Your physical self is free and so should your digital self. Your users will never have to pay or suffer from ads on the client app.

Step 2:

Add your website to Eeze
Image placeholder

Adding your business

So your users cannot be phished

When you add your business, and logo - when users scan the code they will see your logo! This retains brand trust!

Soon your users will be able to use Eeze to collect verifiable claims (like passport, drivers license) and prove their digital me.

Don't worry if the bad guys clone your site, and fish phish your users, they will be alerted on their device and will not allow them to give up any information.

Step 3:

Add this snip to your login and registration pages
<form id="eeze-form" action="./login" method="post">
    <script id="eeze" src="https://eeze.io/public/js/eeze.js" data-key="{appKey}"></script>
</form>
                            

Integration with Eeze

One small snippet does a lot

By including our snippet of code, and a key into your login and registration form you are able to capture user login and registration

Step 4:

Setup your login controller

Take the response from your Javascript call, and feed your back channel call the token. The token with your secret is all that is needed to return a valid user.

  • If you get a HTTP status 200 back, there will be a response body with a valid user for you to consume, and create a login session.
  • If you receive a http status 403, the authentication failed.

OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
   .url("https://api.eeze.io/did-auth/challenge/{token}/user")
   .get()
   .addHeader("Content-Type", "application/json")
   .addHeader("Client-Id", "{your-client-id}")
   .addHeader("Client-Secret", "{your-client-secret}")
   .build();
Response response = client.newCall(request).execute();
package main

import (
   "fmt"
   "net/http"
   "io/ioutil"
)

func main() {
   token := "123"    url := "https://api.eeze.io/did-auth/challenge/{token}/user"
   req, _ := http.NewRequest("GET", url, nil)
   req.Header.Add("Content-Type", "application/json")
   req.Header.Add("Client-Id", "your-client-id")
   req.Header.Add("Client-Secret", "your-client-secret")
   res, _ := http.DefaultClient.Do(req)
   defer res.Body.Close()
   body, _ := ioutil.ReadAll(res.Body)
   fmt.Println(res)
   fmt.Println(string(body))
}
var http = require("https");
var options = {
   "method": "GET",
   "hostname": [
   "api","eeze","io"
],
"path": ["did-auth","challenge",token,"user" ],
"headers": {
   "Content-Type": "application/json",
   "cache-control": "no-cache",
   }
};
var req = http.request(options, function (res) {
var chunks = [];

res.on("data", function (chunk) {
   chunks.push(chunk);
});
res.on("end", function () {
   var body = Buffer.concat(chunks);
   console.log(body.toString());
   });
});
req.end();
curl -X GET \
'https://api.eeze.io/did-auth/challenge/{token}/user' \
-H 'Content-Type: application/json' \
-H 'Client-Id: {your-client-id}' -H 'Client-Secret: {your-client-secret}'
<?php $curl = curl_init();
curl_setopt_array($curl, array(
   CURLOPT_URL => "https://api.eeze.io/did-auth/challenge/{token}/user",
   CURLOPT_RETURNTRANSFER => true,
   CURLOPT_ENCODING => "",
   CURLOPT_MAXREDIRS => 10,
   CURLOPT_TIMEOUT => 30,
   CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
   CURLOPT_CUSTOMREQUEST => "GET",
   CURLOPT_HTTPHEADER => array(
   "Content-Type: application/json",
   "Client-Id: {your-client-it}",
   "Client-Secret: {your-client-secret}"
   ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
   echo "cURL Error #:" . $err;
} else {
   echo $response;
}

That's it, you are now integrated into the most secure login service on the planet.