Skip to:
Content
Pages
Categories
Search
Top
Bottom

Big problem with logging in


  • on3advertising
    Participant

    @on3advertising

    Right now I have a script that connects to an external db outside of WordPress and authenticates a user’s “Customer ID” before showing the bbPress login form, but logging in redirects me to WordPress. This is the process.

    1. When they enter the Customer ID, I pass a parameter to the URL like “website.com/?cid=1234″ — the “cid” represents the customer id.

    2. Then it shows the bbPress login form populated using “add_shortcode(['bbp-login']);” which then logs in correctly.

    3. For some reason, it redirects them to the WordPress admin panel directly after so… “website.com/wp-login.php” — this then takes me backdoor to “/wp-admin/” because it knows I’ve already logged in.

    This only happens when I enter the website with the “cid” parameter already¬†passed in. So if I enter the website with “website.com/?cid=1234″. I do this to bypass the first authentication so the user doesn’t always have to. SO WEIRD!!

    Any help would be greatly appreciated. Thanks.

Viewing 1 replies (of 1 total)

  • on3advertising
    Participant

    @on3advertising

    Also, this only happens when I enter the site from an external source. So I have a hyperlink website.com/forum/?cid=1234

    If I just copy/paste that URL and enter the site directly it works fine.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.