Introduction
This article will go over the error displayed when logging into your Hamz product - "Invalid/Incorrect OAuth2 URL"
Procedure
- Log into your Discord Developers account - https://discord.com/developers/
- Select the Application you're using for the website/bot
- From the Sidebar, select "OAuth2"
- In the "General" tab, find the "Redirects" section
- Click "Add" and enter your URL followed by /actions/register.php
Example: https://cad.mydomain.com/actions/register.php - Click "Save Changes"
- Allow 1-2 minutes for the server to update and refresh your page.