The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
599 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
36 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
101 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
129 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 ...
1
vote
2answers
357 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
524 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
1k 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
332 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
2k 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
478 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
108 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
3k 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
103 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
445 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 ...
2
votes
1answer
2k 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
849 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
163 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
1k 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
282 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
4k 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
5k 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?
5
votes
2answers
1k views

What is $interim_login?

I found an $interim_login variable within the wp-login.php file, and I'm not sure what it does or what it is. The documentation around the interwebs is pretty sparse. What is $interim_login?
0
votes
1answer
208 views

WordPress ReAuth =1 Loop with wpCAS

The wpCAS plugin appears to be working: I have a subdomain on a website which contains the WordPress installation (i.e. test.mywebsite.com), and I'm running through a WordPress GitHub Repo along with ...
1
vote
0answers
84 views

Continuous Login Sessions For Super Admins Across Multi-Site Network of Sites

I've looked around on WPSE, and WordPress.org and Google. Can't seem to find much information on this topic. Is it possible to enable continuous login sessions across all WordPress Multi-Site linked ...
0
votes
1answer
266 views

Auto log in hook is requiring a page refresh

I have a simple auto log in hook that looks like the following: function auto_login() { if (!is_user_logged_in()) { //Removed some code for brevity. $user = ...
3
votes
2answers
1k 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
1answer
809 views

Wordpress authentication using custom php?

i need to integrate a wordpress login into my php website, for the purpose of single login to access my website and wordpress blog also, i have used some codes using curl it is logged in the user, and ...
1
vote
2answers
167 views

How to get the ID of the currently logged in user?

I want to get the ID of the currently logged in user. I've found the function: get_current_user_id which seems to be working, however I'm not sure what 'current' means in this context. Meaning if the ...
0
votes
1answer
239 views

Use Wordpress engine for user registration and management

I am building a web app and would like to use the Wordpress Engine only for Authentication and User Management. Is there any good tutorials out there on how I can connect only the back end of ...
0
votes
2answers
1k views

Authentication for wordpress website

i am developing android app for website, and have done coding for login page which contains username and password for my website(Job Roller), i have stuck up in validating and authenticating the ...
4
votes
2answers
506 views

Storing Dropbox Authentication?

I am trying to create a Wordpress plugin that exports each blog post to my dropbox folder. The code is below but I have a problem. If I run this code outside Wordpress, it works perfectly. The table ...
0
votes
5answers
5k 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 ...
1
vote
0answers
177 views

How to set up Shibboleth authentication for a MU site

So far I haven't found an easy set up plugin that works. "shibboleth" is over 2 years out of date. "HTTP authentication" might work, but I haven't figured out how to set it up yet. I have an IDP ...
1
vote
0answers
193 views

Login after “Read More” then return to article

When a user clicks on an article to "read more" and is then prompted to log in with user name and password, We would like the user to be returned to the article directly instead of being returned to ...
4
votes
1answer
3k views

How to change the default home page for the WordPress Dashboard?

Is it possible to change the Default "Home" admin page when logging into the WordPress Dashboard? I thought about a couple of possibilities... Substitute the content on the Dashboard home page ...
0
votes
1answer
196 views

authenticate user without redirecting

I am working on a form (Gravity Form) which needs some user authentication when the form is submitted. Gravity's documentation pointed out the place where i should place my code. i.e. ...
1
vote
0answers
127 views

How to make Wordpress use authentication from Parent Site

I have a site already, I am adding wordpress to it. THe current site already has user authentication. I want to continue using that authentication and I want my user to be able to seamlessly move to ...
0
votes
1answer
65 views

Advice on setting up private site

I've developed a wordpress site which is only to be made available to around 30 people, whose email addresses I have in a spreadsheet. I want to allow these people to be able to register/login and ...
3
votes
4answers
8k 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 ...
7
votes
1answer
6k 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 ...
0
votes
1answer
98 views

Is it possible to integrate a custom login feature with wordpress?

I'm looking for a way for members of my site to be able to post comments on the site's wordpress blog, and have their name and avatar from the site show up next to their comments. Is there a way to ...
1
vote
0answers
402 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
2answers
913 views

Create Mashable Follow-like Facebook, Twitter login/connect?

Hi want to ask if anyone can share an idea on how Mashable registration works? Basically the only option you have to register to their site is by Facebook or Twitter, after you login to one of them ...
0
votes
1answer
165 views

Ajax for non-logged-in users

I'm working on a plugin that captures some data from a non-logged-in user (such as a Like Button) and enters it into the database based on post_id. My plugin works fine for logged-in users but ...
3
votes
1answer
237 views

Friendica integration using wordpress authentication

I currently have a BuddyPress community with bbPress forums and a MediaWiki based collaborative area. I'll soon be adding Friendica support for good integration with other friends Diaspora websites ...
9
votes
4answers
10k 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 ...
0
votes
1answer
276 views

Login redirect shows white page in firefox

I am developing a plugin which allows to link a local wordpress account to a two-factor authentication service. The login and linking flow works perfectly in Chrome and IE, but the redirects result ...
3
votes
2answers
494 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 ...
3
votes
2answers
1k views

Facebook OAuth, WP_Http::request() vs wp_remote_request()

Running WordPress 3.3.2 and PHP Version 5.2.17 I'm trying to get the access_token from Facebook using wp_remote_request() and Facebook OAuth API (btw, working example at the end of this entry). Is ...
5
votes
3answers
872 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.