400: redirect_uri_mismatch

Issue Summary

I’m using the MeetingHive template and have implemented login and registration with email confirmation enabled. When a user signs up:

They receive the confirmation email.
After clicking the link, they are redirected back to the site.
However, the site still treats them as a guest — they are not logged in, and their account does not appear to be fully recognized or active.
When they try to log in manually, it sometimes says the account doesn’t exist or doesn’t let them proceed.


Suspected Issues

Based on testing, it seems the issue might be one of the following:

  1. User verification is not being marked as complete in the database after clicking the confirmation link.
  2. The confirmation endpoint is not properly logging the user in or redirecting them in a way that recognizes their session.
  3. There may be a mismatch between the frontend behavior and the backend account status, especially with caching or session handling.
  4. If using a plugin like WP Mail SMTP or similar, the email flow may be working, but the account activation logic isn’t triggered fully.
  5. Alternatively, a custom login or redirection function may be overriding the default HivePress flow.

Steps Already Taken

  • Verified that the confirmation email arrives and that the link is being clicked.
  • Ensured that no browser extensions or cookie blockers are interfering.
  • Tried registering with different emails and incognito sessions.
  • Checked the Users list in WordPress admin; sometimes the new user appears as “unverified” or not at all.

Desired Outcome

When a user signs up and confirms their email:

Their account should be marked as verified/active.
They should either be logged in automatically or redirected to a login page with confirmation that their account was successfully created. The site should not continue treating them as guests.

Hi,

Thank you for the detailed information. Please clarify what URL you are seeing after clicking on the URL from the email, and we will provide a solution or workaround.

The URL that shows up after clicking the link: Quartz Math Academy
is quartzmath.com

Hi,

I see. Please copy the Redirect URI in HivePress/Settings/Users/Registration section and set it in the Google OAuth settings for the credentials you created, then it should be ok.

I hope it helps

This worked; however, that isn’t the only problem.
Even though it goes through, the website still treats as a guest (not signed in)

Hi,

I see. Please check the temporary solution in this topic: Social login return invalid URL - #5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.