The tag has no usage guidance.

learn more… | top users | synonyms

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 ...
1
vote
2answers
133 views

Registered but Anonymous comments

Is there a way / set of plugins that could enable discussion where each commenter is 'authenticated' with the site (via openid/fb/twitter/etc) but the commenter can still use a anonymous/fake name? ...
1
vote
2answers
365 views

Options for authenticated feeds

Client has a 3.1x-based site with paywall(using s2Member) which has a public feed that only provides excerpts. He wants to be able to give members full-content feeds, so we need something that can ...
1
vote
0answers
8 views

Is it safe to save a cookie in my mobile app internal memory and use it for further authentications?

I am planning to generate an authentication cookie with the JSON API and save it in my app memory with : https://example.com/api/user/generate_auth_cookie/?nonce=+4d080ff7b8&email=user@gmail.com&...
1
vote
0answers
68 views

How do I authenticate WP users from a chrome extension?

I'm new to WordPress, and I need help. I am writing a chrome extension and intend to use wordpress as the user database. I intend that because I'm using a subscription management WP plugin that keeps ...
1
vote
0answers
28 views

Authenticate with a Rails app?

There seems to be lots of posts where another app / website uses a WP website to authenticate against. I am looking for the opposite. I have a Rails app that uses Devise for authentication. I have a ...
1
vote
2answers
86 views

External system integration with wordpress

I'm writing a web/db application. My clients would like authentication based on whether the user is logged into WordPress. Assuming this application is hosted from within /wordpress I would like to ...
1
vote
0answers
132 views

WP set auth cookie using Ajax is not saved to browser

We are creating an external dashboard that uses Wordpress data, obviously, we use WP REST API v2 We want total separation from the traditional WP Dashboard, but we also want to log in user "behind ...
1
vote
0answers
33 views

What is best way to prevent access to Custom Post Types unless authenticated when the post type has an archive and is publicly queryable?

What is best way to prevent access to Custom Post Types unless authenticated when the post type has an archive and is publicly_queryable? Is code below enough to keep the content secure and prevent ...
1
vote
1answer
43 views

How to leverage authentication outside of WordPress?

I have a situation where I would like to authenticate against the WP_users table from outside of WP. Basically I have username and password fields on a static php page outside of wordpress and need ...
1
vote
0answers
40 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 ...
1
vote
0answers
255 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, ...
1
vote
0answers
186 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 XML-...
1
vote
0answers
96 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 ...
1
vote
0answers
169 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 ...
1
vote
0answers
160 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
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 ...
1
vote
0answers
187 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
232 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 ...
1
vote
0answers
140 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 ...
1
vote
0answers
482 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
1answer
30 views

Detect if authentication is set to “remember” a user being logged on

I am writing a custom frontend logon page for a theme I am working on. The logon page uses wordpress functions as much as possible (eg., wp_signon, wp_set_auth_cookie, ...etc.). For logging on, I do ...
0
votes
1answer
274 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
2answers
862 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
2answers
2k 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 ...
0
votes
1answer
4k 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
638 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 ...
0
votes
1answer
387 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 = get_userdatabylogin($...
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
19 views

Where is the php file, that does the checks for login information?

I would like to add some additional checks into my wordpress website's username and password authentication function for specific usernames, but I cannot find the correct php file... /* I would like ...
0
votes
1answer
31 views

Where is function to prevents non logged users access wp-admin?

Where is the function, that prevents non logged users, access restricted pages in Wordpress? I've looked in several files, but not found. I want to modify the way Wordpress authenticates to check ...
0
votes
1answer
139 views

What WP-API authentication method should I use to interact with anonymous / not-logged visitors?

I am going to track number of plays of a video in my site by both visitors and users. Whenever the video starts playing I am using JavaScript for the event handling in the frontend and write to ...
0
votes
1answer
37 views

`authenticate` filter never gets called

I've added and network activated a plugin with this code: add_filter('authenticate', 'my_authenticate', 1000, 2); function my_authenticate($user, $username){ // We never arrive in this function ...
0
votes
1answer
1k views

WP-API and Basic Auth returning 403 on POST but not GET

I am using the latest, WP-API and the recommended Basic Auth, to test adding a post to WP from remote. I have Access Headers opened up on the WP side: header("Access-Control-Allow-Origin: *"); ...
0
votes
1answer
55 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 ...
0
votes
1answer
3k 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
1answer
386 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 ...
0
votes
1answer
193 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 ...
0
votes
1answer
270 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
2answers
123 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
2answers
1k 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
1answer
112 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
230 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
956 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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
204 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. ...
0
votes
1answer
104 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 ...
0
votes
1answer
308 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 ...
0
votes
1answer
21 views

throttle/limit a logged in user's http requests to specific page on a per day basis

I have a resource on my WordPress page that I only want to show X times per day per logged in user. I'm using the twenty sixteen WordPress theme. Currently, Guests / visitors / non logged in users ...
0
votes
0answers
15 views

add_rewrite_rule to fix fastcgi issue with basic AUTH

The issue is that $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] are not populated if PHP is running CGI/FastCGI as the server API. I've read there is a possible fix with this through htaccess ...