The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
13 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
18 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 ...
-2
votes
0answers
28 views

How can I parse wordpress authenticated user's cookie and Identify Authenticated user over MySql via C#?

I'm calling asp.net web api from wordpress page. CORS ok. I can see cookies on Controller. So how can I parse the cookie, what is the logic behind it? I have access to MySql also. I want to identify ...
0
votes
0answers
25 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
41 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
36 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
98 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
104 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
246 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 ...
0
votes
0answers
22 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
20 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
26 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
49 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 ...
1
vote
2answers
205 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
396 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
214 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
0answers
57 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 ...
0
votes
1answer
167 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
71 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
68 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
37 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
351 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
229 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
103 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
21 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
18 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 ...
1
vote
0answers
74 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
241 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
314 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
31 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
494 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
80 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
81 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
193 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
303 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 ...
1
vote
1answer
709 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
216 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 ...
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 ...
6
votes
2answers
377 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 ...
2
votes
2answers
97 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
1answer
2k 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
1answer
85 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
274 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
972 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 ...
1
vote
1answer
644 views

Set authentication cookies to be shorter but then extend with every page load

I'm trying to get around the otherwise very insecure way of Wordpress handling authentication cookies. I mean, having the cookie expire in 2 weeks only if I build a membership site is obviously not ...
0
votes
1answer
100 views

How to generate “WP_Error” Object for user login?

I want to return the Login Error Message even user key-in their privileges correctly. In other words, to terminate the login and show the error message. When we key-in wrong passwords, wordpress ...
0
votes
1answer
869 views

Wordpress Login Customization for External Authentication

I'm not sure which approach is best but my situation is something need to tie the admin login with external authentication source. I mean, WP normally is: wp-admin ---> Check with WP Database ...
0
votes
1answer
198 views

Wordpress Site login problem with facebook, twitter and other social media

I am running My Wordpress Powered Website on a free hosted platform and the provider blocked PHP curl extension. I want to let visitors login with facebook and other social platforms. I tried with ...
0
votes
0answers
3k 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
1answer
3k 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?