Proof of Login

This is the authorization flow in which the server can determine if properties of the user's Google user account meet certain requirements.

The OZKi Bot application makes an exception to the PayPal subscription payment requirements, where users with Cal Berkeley google accounts can use it for free. In this proof of login flow, the proof function checks the email address of the google account to see if its domain name is equal to "berkeley.edu". If this constraint check passes, the user is allowed to access the game service.

You can change the required domain name to be something other than "berkeley.edu" by editing the proof function and rebuilding it again using the ozki-toolkit CLI.

This call sequence diagram illustrates the details of the interactions among the Google auth server, OZKi oracle server, the user (browser), and the OZKi Bot server.

Last updated