Beta

Development

Overview

We've designed the whole CakeAuth platform, as much as possible, everything to be configured and controlled via our app console dashboard.

But, each framework & applications may require a slightly different setup. If you're having trouble getting CakeAuth to work properly, don't hesitant yourself to contact support.

Using Activity Logs

In the Development Environment, email, SMS, and/or WhatsApp will not be sent for any of your user activities (be it creating an account, signing-in, resetting password, etc). So to accommodate development, you can use activity logs to display all attempts at your user base.

activity logs

Useful values

ValueData TypeNotes
Activity Typesignin | signup | password_resetType of activity/action
Statusactive: Attempt is still valid and available to useStatus of the activity
used: Attempt is already being used
expired: Attempt is expired
revoked: Too many failed attempt
IDstringAttempt ID
Code6 digit OTP code; or random token (for password_reset)Code that can be used to verify an attempt
LinkstringLink to reset a password (available only on password_reset type)

Common Development Scenarios using Activity Logs

Verify OTP on Signin/signup

1. User signin/signup via email or phone
2. Input the 6 digit code displayed in the Activity logs
3. Done

Password reset

1. User request to reset their password
2. Click password reset link displayed in the Activity Logs
3. Done

Last updated on

On this page