- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Search for "OAuth consent screen", configure it, and choose External user type.
- Go to "Credentials" page, click "Create Credentials", and select "OAuth client ID".
- Select Application Type: Web application.
- Under Authorized Redirect URIs, click + ADD URI and add both of these:
https://gmb.thebrandfly.com/oauth-callback.php
https://gmb.thebrandfly.com/gmb-callback.php
- Click Create and copy your **Client ID** and **Client Secret**.
- Open the project's config file:
config.php
- Replace
YOUR_GOOGLE_CLIENT_ID... and YOUR_GOOGLE_CLIENT_SECRET with your actual keys.
After saving, refresh this page to enable login.