The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
28 views

How do you import members from another system to Wordpress and update passwords so they'll work?

Our current system ( not using Wordpress ) has 1000s of users that we need to port over to Wordpress. The problem we're running into is that the passwords can't stay the same. In our current system ...
0
votes
1answer
12 views

Custom user creation and auto login problem

I am trying to create a custom user and then log them in programatically, whereafter I want to redirect them to a payment page. I have the following code in my theme's functions.php file: function ...
0
votes
1answer
17 views

Password Protected Page + Showing Different Page If Not Authenticated/Authorized

I have a few pages of custom posts that I would like to password protect via the following business rules: I can create a number of passwords to access the page An expiration date can be set for ...
0
votes
0answers
14 views

Multisite LDAP authentication

I'm currently working on using LDAP authentication for my Wordpress 4.2.2 multisite. So far I've come across a couple of plugins but I'd like to map roles using groups in LDAP for each site in ...
1
vote
0answers
18 views

two factor authentication

i am working on a two factor authentication plugin using a third party API. API and WordPress plugin setting page are ready. now i need break default wp login process in two parts like this: This is ...
0
votes
1answer
10 views

Opening protected page with cookie?

I'm working on an app that uses WordPress for user management. After login, the app holds the auth cookie. How can I use that cookie to open a web view of a protected page within the app without ...
0
votes
1answer
17 views

Multisite authorization error 401

I have created a site on my wordpress network , but when I tried to access the site or dashboard it asks for username and password . Though I didn't create any authorization password (http pass) for ...
0
votes
1answer
20 views

Reloading page with a query string upon login for admins

After users with specific roles log in, I would like to reload the current page with a query string added (to trigger a message via JavaScript). How can this be improved? function ...
1
vote
0answers
73 views

How does the “authentication unique keys and salts” feature work?

I'm trying to find some information on how the authentication keys and salts work in WordPress, but unfortunately I wasn't able to find anything useful. All I got is that the keys should be random, ...
0
votes
1answer
146 views

Single sign-on: wp_authenticate_user vs wp_authenticate

I have a wordpress site (lets call it site1) and another site with oauth2 (site2). When a new user is created, a record is created in both site1 and site2 databases with the same email as username, ...
0
votes
0answers
87 views

Custom user authenticate with custom user table and function wp_authenticate

How can I authorize a user using the built-in functions for working with wp cookies. I try to explain. I create custom db table for my users such as: CREATE TABLE IF NOT EXISTS `my_users` ( `ID` ...
0
votes
0answers
29 views

Authenticate Login / Problem when user is created

// check active status (login) add_filter( 'wp_authenticate_user', 'check_active', 30, 3 ); function check_active( $user, $username) { global $current_user,$wpdb; $user_info = get_user_by( 'login', ...
0
votes
0answers
102 views

Site requires login. How to publish login-free RSS feed?

The WordPress site is for internal use only and as such I've set it up so it requires users to be logged in before they can see any of its pages. As a result, my RSS feed url won't work without ...
1
vote
2answers
135 views

Wordpress asking for FTP details when installing plugins

I'm renting a server from DigitalOcean on which I'm running Wordpress inside apache on port 8079. DigitalOcean also only allows one to connect via SFTP. Currently the client I use to do that is ...
0
votes
0answers
22 views

Restrict access to the site with $ _SESSION

I am creating a simple login system that redirects a client for your area . There will contain links to their projects , in other words , clicking , it will be redirected to your website. Example: I ...
4
votes
1answer
171 views

Extend Wordpress (4.x) session and nonce

We've got a small web application that allows users to log in (via WordPress) and remain logged in for a max 15 min session for security purposes. Because most sessions will last longer, I have a ...
0
votes
0answers
30 views

Wordpress Users Authentication through Drupal

I develope a Wordpress Site. A customer of mine had a Drupal installation, where he has installed the following plugin: https://www.drupal.org/project/oauthloginprovider Now I want my WP users to be ...
3
votes
1answer
156 views

Authentication / login mechanism (non wp-admin)

I am developing a theme. I need to have a user login system, that allows users to see all contents of the application and interact with it only after they login (not admin panel login). I need to ...
0
votes
0answers
31 views

WordPress accepting log ins with blank password and incorrect passwords

I'm working on someone's WP site and one of the bugs they have is that as long as the user is registered and exists in the wp_users table they can log in to the site without entering a password or ...
0
votes
1answer
935 views

Custom Login Form - Redirect user to login page if not logged in

I have integrated custom login form as mentioned here and embed this custom login form to a WordPress page, via shortcode [dm_login_form]. After that I have integrated access control plugin here ...
0
votes
0answers
42 views

Admin toolbar not showing right after `wp_signon`

I'm implementing a login wall using the template_include filter and a is_user_logged_in() conditional check. I authenticate new logins inside the same hooked function using wp_signon(): add_filter( ...
0
votes
0answers
73 views

Can users signup via the new REST API

I am building a mobile app that is a companion to a Wordpress site and will be retrieving and submitting data via a WP plugin built using the new REST API. Users will need to be able to create ...
0
votes
0answers
42 views

New Wordpress plugin - authentication is needed

I write a new plugin that will work against an external application. This application need an access to this plugin, and will create, edit and delete posts. Of course I want to protect the plugin so ...
0
votes
0answers
120 views

Usage of wp_send_json_success and wp_redirect at the same time

I have to send the success response to ajax if user filled the form fields successfully or not on the client side and redirect to the other page which finalize his authorization at the same time on ...
0
votes
0answers
262 views

Override wp_authenticate

I'm overriding the wp_authenticate pluggable function. But I've two errors: PHP Warning: Missing argument 2 (This argument is $password) PHP Notice: Undefined variable: password The code is as ...
0
votes
0answers
68 views

Get User data from external site

I would like to pull user data into a mobile app. I would create a simple login in the app and send the username and password to my wordpress site. The site would authenticate the user and return user ...
0
votes
1answer
110 views

Wordpress Authentication Middleware

What I want to achieve is: For every request , if the user is not logged he / she will be redirected to the log in page. If the user is logged in then he / she can access the site. class Auth{ ...
0
votes
1answer
118 views

Calling wp_signon doesn't log the user in

I'm currently programming a single sign-on mechanism for my Wordpress site to allow my company's helpdesk system to authenticate against Wordpress. In order to allow this to happen I'm making use of ...
-1
votes
2answers
415 views

How can I have authenticated WordPress users automatically sign into Moodle?

Okay, so here's the deal. I'm looking for a way to log people into Moodle using their WordPress credentials, with this kind of workflow: User "bbarker" is logged into WordPress. He clicks a link that ...
0
votes
1answer
888 views

How to secure or disable the RSS feeds?

I'm trying to set up WordPress as a CMS. As such, I want to disable the feeds since it's mostly a secured site. I've gone through all the Settings pages but found no setting to tweak or disable the ...
3
votes
1answer
322 views

Security error WP 4.0 + WP phpBB Bridge [closed]

so today I updated to 4.0 (glad I had backup). Everything was working fine until I tried to publish a post. There I got Are you sure you want to do this. Also had Cheatin' Uh under ...
1
vote
0answers
60 views

wordpress 3.9 remote token auth

I came across the following code here <?php /* Plugin Name: Remote Login Description: Log into the site with creds that work on remote site (as defined in plugin). The remote site must have ...
0
votes
1answer
30 views

How to add additional factor to wordpress authentication

The specific idea is to tie a user to a specific IP address. At login time set a cookie with the IP address of the user and then check it against the address from which it is being sent from at every ...
0
votes
0answers
62 views

How is a SOAP request handled when a user visits a page?

I am creating a plugin for my own website. I've been following this tutorial, but I see it's not handling authentication and displaying data in the way I'm needing, though it did show me how to ...
0
votes
1answer
129 views

How can LDAP/Active Directory be integrated in WordPress?

I know there are a few plugins. I need to more than likely roll my own. But, I don't know enough about the WP security infrastructure. Where does WP authorization and authentication code go? I'm ...
2
votes
3answers
774 views

Wordpress auto login after registration not working

So I looked up a bunch of threads trying to figure out how to automatically log a user in after registration, and came up with this. function log_me_the_f_in( $user_id ) { $user = ...
1
vote
2answers
1k views

Are there ways of logging in that bypass wp-login.php altogether?

I have a WP install that's been getting hammered the last couple days by brute force login attempts. The site has the Limit Login Attempts plug-in installed. And when I started getting frequent ...
1
vote
4answers
535 views

current_user_can not always working properly

I have a custom Wordpress theme that includes a members only section. In order to implement this, I have the following code at the top of my restricted pages. <?php if ( ! current_user_can ...
0
votes
1answer
305 views

Authentication over CURL

I am working on an API for a WordPress site. Basically, an external application (not made using WP) is able to send JSON to a file I made (api.php) and inside that file I load WP (using wp-load.php), ...
0
votes
1answer
175 views

How to set a cookie for logged in users to md5($user->ID . “my_secret”)?

For all logged in visitors of my WordPress website I would like to set 2 cookies based on their user ID - so that I can use their user IDs in WordPress-unrelated PHP scripts at the same domain. In ...
1
vote
0answers
65 views

Logging into multiple Non-Wordpress sites through one Wordpress login [closed]

I'm trying to connect my partner sites with my main site. Is it possible for me to be able to log into my partner sites (they aren't running on WordPress) AND my WordPress site simultaneously with one ...
2
votes
0answers
626 views

Login members using web services

I want a login system which authenticate user from web services.The steps should be as follows: we have few member web sites (Outside of wordpress server). Each member website have its corresponding ...
0
votes
1answer
466 views

FTP Username and password wrong while installing theme

I followed Failed to connect to FTP Server 127.0.0.1/:21 And was able to solve that problem. But now when I try to upload the theme then I get username and password failure. I have added following ...
0
votes
1answer
28 views

Adding a “Sign In/My Account” link to an external app

I'm using (or I'm going to use) WordPress for my product's marketing site. I use Rails for the product's application. Right now on my marketing site, which is currently in Rails, I have a link that ...
1
vote
0answers
123 views

WordPress Multisite logout conflict

I have a WordPress Multisite setup with several sub sites. I am having an issue when logging out of one of the sub sites that leaves the user logged into the main site which was the entry point or ...
0
votes
0answers
306 views

Use WordPress as authentication for custom app

I am in the process of developing a custom web application which will require users to login. We have developed a WordPress website to manage the signup and payment/subscriptions for the application. ...
1
vote
1answer
559 views

How Authentication in wordpress works? wp_authenticate_username_password()

function wp_authenticate_username_password($user, $username, $password) { if ( is_a($user, 'WP_User') ) { return $user; } if ( empty($username) || empty($password) ) { $error = new WP_Error(); ...
0
votes
0answers
35 views

How do I authenticate/turn off a plugin remotely for plugin SaaS like functionality?

I have a client whom we created a custom plugin for. We are charging monthly for access to this plugin but the only way we have to disable it is manually in the Wordpress admin. How would I go about ...
0
votes
2answers
99 views

Redirect returning users to a certain page?

Is there a way to redirect users returning to the site who are already logged in? Assuming something like: function returning_redirect() { //code here } add_action('auth_cookie_valid', ...
1
vote
0answers
126 views

Login to wordpress by clicking a link and specifying usernaname and password in url

I'm running a php application on an ubuntu server that's completely independent of my wordpress site. I'm using an iFrame of the server inside the wordpress site, but I need to login to Wordpress with ...