The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

wordpress 3.9 remote token auth

I came across the following code here https://gist.github.com/trepmal/2968439 Currently the remote authentication is token based. So when the user logs in a token is generated validating the user. ...
0
votes
1answer
13 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 ...
3
votes
2answers
408 views

Override user authentication with external credentials

I'm working on a site running WordPress along with a vBulletin forum. The user base is registered on vBulletin. I need to allow users to appear logged in on WordPress as well for the sole purpose of ...
1
vote
2answers
70 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
4answers
94 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 ...
1
vote
0answers
51 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 ...
2
votes
2answers
503 views

Using `auth_redirect` : keeps asking me to login even when I'm logged in

I am trying to use auth_redirect to automatically redirected not logged-in visitors when then visit a specific page. Here is the code I use: ...
0
votes
0answers
12 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
15 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 ...
4
votes
3answers
5k views

Can I programmatically login a user without a password?

I'm manually creating users programmatically, and I want to sign in the newly created user. WP makes it easy to access the hashed password, but not the plaintext version. Is there a way to use ...
1
vote
2answers
125 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 ...
6
votes
2answers
334 views

How to pass users back and forth using session data?

I have applications that I wrote that use SAML and then a user database to define permissions for them all. And basically once a user signs on via our SSO they can use the applications with their ...
5
votes
1answer
3k views

Create API for single sign-on with 3rd party site

My site needs to integrate with a 3rd party software, which will live on its own sub-domain, hosted by the software company. I need to provide the 3rd party developers with an endpoint that they can ...
2
votes
4answers
4k views

How to check username/password without signing in the user

I'm writing a plugin that creates an API endpoint that validates username/password pairs. I'm currently using wp_signon() to check whether the username/password combo works. This works fine when the ...
0
votes
0answers
23 views

Login from third-party application with WordPress credentials

I've made a web app with WordPress and it works great. Recently I started developing for Android. So far I've made an app with some webviews to load the correct web apps URL:S, and a menu. But now ...
1
vote
0answers
208 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
82 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
3answers
3k views

Facebook Registration Tool: how to use in Wordpress? [closed]

Facebook provides a Tool to let Facebook users register to third party websites: https://developers.facebook.com/docs/plugins/registration/ How to integrate this tool into Wordpress? I would like ...
0
votes
1answer
36 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 ...
0
votes
0answers
51 views

Server-side processing of AJAX login

I'm using AJAX to login users on my website to avoid the need for a page refresh when they get their username or password wrong. Everything is done over SSL. My server-side processing: function ...
1
vote
0answers
30 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 ...
0
votes
1answer
137 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
0answers
82 views

Custom login errors and redirect

I am working on a custom login page in Wordpress and found these 2 functions for a redirect back to the custom login pages to show errors there and nog on the Wordpress default login page. The first ...
0
votes
1answer
17 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 ...
0
votes
0answers
17 views

Appengine - Wordpress authentication through google ID?

I am planning to migrate my website to Google appengine. I wanted to know that if I do migrate then will my users necessarily need to login using the googleID/openID or can I maintain the default ...
0
votes
0answers
179 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. ...
5
votes
3answers
536 views

why does WordPress need two cookies for auth/login

I can see two cookies: auth and login cookies in wordpress. Why do we need two? I think one is enough.
1
vote
1answer
197 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(); ...
2
votes
1answer
2k views

What exactly is ReAuth?

Searching for "WordPress Reauth" and the like all result in folks who are having problems with ReAuth=1. What exactly is ReAuth?
1
vote
0answers
282 views

Easiest Way to Authenticate WP Users Using an External DB?

I have been looking for the best/easiest way to share users on a WP blog (in a subfolder) with the MAIN site's user database so that people do not have to register/log in on the WP blog when already ...
0
votes
0answers
29 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
0answers
312 views

How to authenticate wp User though JSON?

I am developing an android application that is using wordpress as the base for its user management, now I want the users to be authenticated against the wordpress database through JSON. I am trying to ...
0
votes
2answers
70 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', ...
0
votes
0answers
33 views

Override Theme Customizer Cookie Expiration

I'm working on a Multisite network which has a forked/custom signup form. As part of the signup success process the user is automatically logged in, given a password, etc. I've got this all strung ...
3
votes
1answer
1k views

Disable WordPress 3.6 idle logout / login modal window / session expiration

I manage a WordPress site hosted at WPEngine that was recently force-upgraded to version 3.6. The upgrade introduced "In-line login following expired sessions", and therein lies the problem. The ...
1
vote
0answers
64 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 ...
0
votes
2answers
139 views

add action which returns modified value

I want to modify submited password in wp_logon wp_authenticate action. When authenticating, I want to grab submited password, modify it, and pass back to wp_logon So here is an action ...
0
votes
2answers
198 views

Validate Custom Login field

I have added an extra login field to the main wordpress login page. It is a checkbox which must be checked (to accept terms & conditions), otherwise the user cannot log in. I have taken code from ...
0
votes
0answers
73 views

Non WP Rewrite Rule to Admin Screen using plugin

I am creating a plugin that uses the administration screen extensively (adapting a rather complex, MVC program to WordPress for Creative Collaboration). I want do use simple URLs so that when a user ...
0
votes
1answer
1k views

Allow users to create post without logging in?

I have this project that requires guests to normally write a post without requiring them to be a user. By normally, I mean they can write posts by going to the posts edit screen like a normal user ...
0
votes
0answers
48 views

WordPress Auth Cookie

I have 2 domains pointing on same WP installation, I want when user login under host1 (s)he be redirected to host2 and be logged in there too. Obviously because cookies under host1 aren't sent for ...
1
vote
1answer
533 views

Error when requesting password reset email - wp authentication

I get the following error whenever a user tries to request a password reset email: The e-mail could not be sent. Possible reason: your host may have disabled the mail() function. As per ...
0
votes
0answers
158 views

How to filter wp-auth-check-form

I'm wanting to filter the new inline login. I have a bespoke single sign-on that requires users to sign in through the front page login form. But, when the session times out in the admin area the ...
0
votes
0answers
2k views

Why 'Authorization Required' is coming on wordpress login

When i try to login to my WordPress blog admin why this pop up error come .. "Authorization Required" http://stpatrickscollege.edu.pk/wp-login.php
2
votes
2answers
84 views

Best Way to Enable Two Step Authentication

I'm looking for a bit of guidance on setting up a two step authentication system in WordPress. I've looked at a few of the main plugins and they seem to fall in to two camps: Add an extra field to ...
0
votes
5answers
3k views

How do I require authorization / login to view a specific set of posts / pages?

I am working on a wordpress site for a client who wants an internal 'intranet' for his employees. The basic needs are: Communicate things in-house House important company documents Provide quick ...
0
votes
1answer
73 views

Cannot access empty property error in Advanced Access Manager

As explained in the reply of this post by the Advanced Access Manager's author I've changed the current getCurrentUserRole function in the path /wp-content/plugins/advanced_access_manager/module with ...
0
votes
1answer
208 views

Need to execute a cron job

I need a cron job to execute the following url http://www.mywebsite.com/wp-admin/admin.php?page=myvideoblog/mvb_main.php&action=processfeed&updatefeed=67 The problem is that it requires ...
1
vote
1answer
755 views

WordPress as a OAuth Provider

I have just started to read on OAuth as I need to integrate it within a WordPress web app. As per my understanding of OAuth, signed requests are sent between the client and the server. These signed ...
3
votes
4answers
5k views

How to validate a user from ouside wordpress/php?

I'm working on an ajax application that will be embedded in a wordpress page. The ajax app exchanges data with servlets running on tomcat. Now the servlets need a way to determine if a request comes ...