The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
9 views

How to bypass browser popup when using web service in wordpress? [on hold]

When I hit this http://username:password@siteurl.com it will give pop-up in browser. How to bypass this? Thanks.
1
vote
0answers
17 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 ...
0
votes
1answer
23 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
0answers
13 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 ...
3
votes
1answer
32 views

Keep Users Logged In As Long As I Like

I'm implementing a Kiosk webapp based off WordPress and I have some conditionals which are key, they work based on whether user is logged in or not. I'm aware that after user clicks "remember me" it ...
0
votes
0answers
19 views

Handling user logins on the front and back end

I'm currently working on a site which has 2 areas where users can log in. One on the front end for BuddyPress and the standard login area (wp-login.php). As It stands whenever validation for the ...
0
votes
1answer
24 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
19 views

Users are required to login to my site. How define user.member boolean, its permissions, and conditionally display/handle behavior based on it

Users are required to login to my site. They are redirected to the login page and not allowed past the login page until they authenticate. Once authenticated, they can access most of the website. ...
0
votes
0answers
15 views

Wordpress LDAP Authentication

I want to authenticate user using LDAP authentication for my WordPress website. I need to authenticate every page of the website but not the backend (wp-admin) of the site. Could anyone suggest a ...
0
votes
0answers
70 views

Authentication for a mobile app connected via wp-rest api?

Building a cordova (HTML/JS) based mobile app (not-native) and I want to use wordpress only as the backend. The idea is that mobile app users will be making requests to the API and custom endpoints ...
1
vote
2answers
71 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 ...
0
votes
2answers
25 views

Wordpress Child Theme Template auth_redirect wrapper

I'm successfully utilizing a child theme in Wordpress. I would like to create a page template that simply forces login for any visits to the pages where this template is in use. (Simply need to add ...
0
votes
1answer
23 views

OAuth 2 and saving the authenticated user

I have quite a peculiar scenario. I have one WordPress site (Site A) where I have a large amount of users that have registered and I use the s2member plugin to subscribe these members to allow access ...
1
vote
0answers
83 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 ...
0
votes
0answers
48 views

How do I establish a connection between Firebase user database and WordPress?

I'm making a Website and an android app. The android app stores its user details i.e., username and password on Firebase database; I'm also making a website and I want a login in the website which ...
0
votes
0answers
108 views

Logged In cookie gets saved but not Auth cookie

I am trying to get WordPress to run on PHP-CGI which I call from my ExpressJS (Node JS) server. After getting some bugs worked out on my end, I finally got the front-end working and I can login and ...
1
vote
0answers
28 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 ...
0
votes
0answers
17 views

How to track all users logged into a site?

I'm working on a project that may have two or three content creators. I would like to be able to notify any of them if the other(s) are logged in. This is to prevent one user from editing a post that ...
0
votes
1answer
84 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 ...
4
votes
1answer
212 views

how to authenticate for the REST API from a plugin and from command line

I want to try the new REST API but I'm not used to this kind of things. Basically, I want to use it to GET custom posts via ajax and show on the website frontend (I'm building an ajax product ...
1
vote
1answer
57 views

How to display username and password after registration

When a new user registers for a new account, WordPress sends an email with the login information as usual. The password is auto-generated and stored securely in the WP database and the registration is ...
2
votes
0answers
257 views

Authenticated request to WP REST API V2 returning 403 error on /users/me [closed]

I am using WP REST API Version 2.0-beta7 together with WP OAuth Server version 3.1.91 After authenticating with the User Credentials grant type, a request to ...
0
votes
1answer
30 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
0answers
28 views

Is it possible to login in with a token rather than login credentials?

I'm working on an application that connects to a WordPress blog. Right now, the user logins in through the app. But there are times when they need to login to the website. I would like to make it easy ...
0
votes
1answer
25 views

Authenticate WordPress Site through another WordPress installation?

We have two different WordPress websites for our clients. Both have different content that need to be on separate installations. One installation already has all of our users since it existed well ...
3
votes
1answer
94 views

How does ifttt.com authenticate a supplied WordPress account

I'm curious to know how ifttt.com authenticate a supplied WordPress admin login credentials. And after authorization is granted, how does it publish post on our behalf? am curious to know what ...
1
vote
1answer
35 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 ...
0
votes
1answer
835 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
0answers
23 views

How WordPress handles multisite login?

I want to know how WordPress handles multisite login. How exactly it is saving session/cookies of the authenticate user? Actually, I am facing issue with WordPress Social Login plugin. When I logged ...
2
votes
1answer
289 views

How can I use CURLOPT_USERPWD in wp_remote_post?

I'm trying to setup a proper cURL call in WordPress so am using wp_remote_post(). However, I'm having trouble authenticating the user via wp_remote_post(). Any idea how to convert the following to be ...
0
votes
0answers
31 views

Anonymous sessions in WordPress?

I want to start a session for a non-registered user. The information for the user will be sent to me via a token. The only purpose is to restrict page access if the user is not signed in on the parent ...
0
votes
1answer
120 views

I want login using email not username wordpress front end

For the login, I want to enable the user to use the email instead of the username. This is what I got so far: remove_filter('authenticate', 'wp_authenticate_username_password', 20); function ...
0
votes
0answers
206 views

JWT authentication with WP - Approach

We're using JWT (JSON Web Token) for authenticating our WordPress application with an external service. The current flow we're thinking of is like this: The user signs in on the the parent site The ...
-1
votes
1answer
131 views

Handle POST request sent from an external site for login?

How do I send a $_POST request to my WordPress application from an external website, and handle it here? I want to send user credentials, along with additional login data, to perform an auto-login. ...
0
votes
0answers
81 views

Using JWT to authenticate a user with an external system?

We have a WordPress application which is going to be linked with a parent system. We want to use JWT for authenticating with the parent. The idea is, if the user is not logged in on the parent, he ...
0
votes
1answer
203 views

Users credentials and syncing from third party with WooCommerce

I am trying to build a web store for a client who has already had a mobile app. the mobile app team would like to sync user's password as they update it both on the mobile app and the web store. ...
0
votes
2answers
170 views

My custom page template with is_user_logged_in() does not detect that I'm logged in

I have a custom page template that looks like this: <?php if( is_user_logged_in() ): ?> <?php get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php ...
2
votes
1answer
254 views

How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?

Are there any example projects that do the same? I want to be able to login and register for accounts on my site via the API.
0
votes
0answers
52 views

WordPress Authentication loop using custom plugin

My client has an authentication provider with a good API. I have some classes for checking whether a user is logged in to this provider - it sets an encrypted cookie with the user's email address, I ...
1
vote
1answer
30 views

What's hook to use immediately after a user is authentcated [duplicate]

Does anyone know the add_action() hook to use immediately after a user is successfully authenticated. Hook Test based on @mmm's answer I ran this test from my mu-plugins.php file: function ...
0
votes
0answers
101 views

Google Authenticator does not accept the verification code

I have two-factor authentication enabled on my blog and cannot log in. I get a WordPress verification code, but the number always generates an when I use it. ERROR: Invalid verification code ...
3
votes
1answer
84 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
114 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
51 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
36 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
30 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
16 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
61 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
48 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
232 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, ...