Developer’s Guide:
Boost Your Reach with Email

WAX io
WAX.io
Published in
4 min readSep 13, 2023

Hey, developers! In this blog, we’ll walk through the step-by-step process for creating a new OAuth request on the WAX Blockchain to collect emails from users who visit your project and log in via the My Cloud Wallet. Let’s dive in!

Step 1 — Add a new OAuth request

First, you will need to add a new request for a new OAuth. If you have already enabled 2-Factor Authentication (2FA), you will be able to do this directly. However, if you haven’t enabled 2FA, you will be prompted to do so for security reasons.

Step 1.1 — Enable your 2FA

For added security, enable 2FA in your account settings. This provides an extra layer of security that will help protect your OAuth credentials. Make sure to copy down your recovery code after activating 2FA; you will need this code if you lose access to your 2FA app.

Step 2–2FA Code Request

Once you’ve enabled 2FA, you will need to input your 2FA code. After the code has been successfully entered, your OAuth request will be sent.

Next, your request will be received by an admin.

Step 3 — Request Status Update

Once your request has been reviewed, the status of the request is updated in your My Cloud Wallet settings.

Step 3.1 — Review Your Request

At this point, you can review your request and make sure everything is as expected.

Step 3.2 — Access Your Secret Key

You can view, copy, and download your secret key. Handle this with care!

Step 4 — Backup Warning

You will receive a popup warning reminding you that you must back up your Secret Key. This key cannot be recovered if lost.

Step 4.1 — View Secret Key Once

Remember, you can only view your secret key once. The ‘View Secret Key’ button will be disabled after your first viewing.

Step 5 — Delete OAuth

You can delete the OAuth if necessary. You will be asked to confirm your decision and provide your 2FA code again to complete the action.

Step 5.1 — Enable 2FA

If you try to delete the OAuth without 2FA enabled, you will be prompted to enable 2FA.

Step 5.2 — Successful Deletion

Once the OAuth is successfully deleted, you will receive a confirmation message.

Step 6 — dApp Approves Access

Finally, your dApp will need to approve access to the OAuth information.

And that’s it! You’ve successfully initiated OAuth on the WAX Blockchain. Developers can now view the user’s email address through the OAuth API.

Join the WAX Community

Twitter | Discord | WAX.io | Developer Portal

--

--

WAX io
WAX.io

WAX is the safest and most convenient way to create, buy, sell and trade virtual items.