Questions tagged [oauth]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

WordPress User Registration/ Sign Up -> Able to take Paid Certification Courses & keep track of Completed Certificates

I'm really new to WordPress and been tasked with this assignment and not sure how to tackle it. So we have a WordPress site and we plan on using the Masteriyo plugin to create and sell online ...
SparklingLemonWater's user avatar
0 votes
0 answers
77 views

Implement OAuth2 in custom plugin

I'm trying to integrate an OAuth2 server in WordPress using Wp OAuth CE plugin but it will install and not activate because give a fatal error. The error when I try to activate the plugin in my ...
devdev's user avatar
  • 1
0 votes
1 answer
306 views

WordPress login set cookie that survive browser exit (wp_signon function)

I've read all the relevant question here on StackExchange and I haven't found a solution. Here's the problem: I use a plugin to use Google OAUTH to login in Wordpress. All working correctly, but I can'...
Manuel Serrenti's user avatar
1 vote
0 answers
25 views

For using google api is it necessary to install the google client libraries for using Oauth 2 in wordpress installation?

In a wordpress installation I am trying to fetch data from the search google console api. Seems I need Oauth 2.0 Is there some short code that I can use without installing all the libraries with ...
user1664377's user avatar
1 vote
0 answers
21 views

Wordpress Google Calendar Oath 404

I am trying to integrate google calendar with a wordpress plugin. As per the google api documentation I am authorizing using google oauth2. When it returns the code and scope in the url the scope part ...
KingTutt's user avatar
0 votes
1 answer
211 views

Google credentials and redirect URI for Google OAuth2 in a WordPress plugin, questions

I'm developing a plugin that inserts contacts into a custom table of the WordPress database (name, phone number, email). It is possible to enter data in this table either manually, through a form, or ...
icolumbro's user avatar
1 vote
0 answers
86 views

Erratic OAuth 1.0 Signature Mismatch Errors

Question for anyone who might be using OAuth 1.0 to access the REST API (via the official OAuth 1.0 repo). Small preface to say that I've researched this and seen multiple other questions that are ...
Luke Miller's user avatar
3 votes
1 answer
2k views

How to build a plugin that supports authenticated POST requests to the REST API from external servers?

One of the main purposes of an API is to allow the integration of different services/systems. Let's consider that the WordPress REST API can have both public and protected endpoints, where public ...
Lucas Bustamante's user avatar
1 vote
1 answer
281 views

WP REST API GET Requests require authentication

Is there a way to require authentication for WP REST API GET Requests? The people I was researching always added a command if the is_user_logged_in(). But it closes these external queries altogether. ...
P.Works's user avatar
  • 19
0 votes
0 answers
36 views

Output Redirect Headers on Admin Dashboard Page

Question: Is there a way to output headers with either wp_redirect() or header() when a user is requesting an admin dashboard page with additional query parameters? ex: https://example.com/wp-admin/...
Josh H's user avatar
  • 1
1 vote
1 answer
62 views

Redirect URL on OAuth2.0 after switching from http to https

I'm pretty new to Google OAuth 2.0 config and please allow me to ask this question. I have a wordpress site which protocol will be updated to https from http. On the site, it pulls data from google ...
shinyatk's user avatar
  • 111
2 votes
1 answer
59 views

Should I ask my Twitter plugin users to create their own Twitter App and API Keys to use my plugin?

I am creating my first WordPress plugin. It is a Twitter plugin that uses Twitter API 1.1 and OAuth 2.0 to generate a bearer token and then use that to fetch Tweets from Twitter. The plugin is almost ...
Amrit Ray's user avatar
1 vote
0 answers
2k views

Test WordPress api with postman

I have some API endpoints. For example: add_action('rest_api_init', function () { register_rest_route(MY_APP_NAMESPACE, '/init', array( 'methods' => 'GET', 'callback' => ...
Rashedur Rahman Jitu's user avatar
0 votes
1 answer
1k views

WooCommerce OAuth 1.0 + JWT authentication with JS/React

My scenario: JWT auth for user queries, which requires to customize .htaccess to recognize the Bearer Authorization header OAuth 1.0a for system queries, and because of .htaccess customization the ...
nilsnolde's user avatar
  • 133
1 vote
1 answer
975 views

Allow logged in WordPress user to access 3rd party Laravel API via OAuth

I have a unique situation that I'd love some help with if possible: My company manages a lot of WordPress sites. Each site has its own unique set of users (same users throughout all sites, but some ...
Kingsley's user avatar
  • 121
1 vote
1 answer
3k views

Where to store OAuth 2.0 client id and secret?

I'm building some functionality within one of my WordPress sites that integrates with a third-party API, and that API uses OAuth 2.0. I use both the client ID and secret every time I need a new ...
jasonp's user avatar
  • 61
3 votes
1 answer
1k views

$_SESSION variables lost during OAuth callback

When I attempt an OAuth handshake, the first step is a GET call to obtain an access code like so. # Redirect to request authorization code $url = $this->get_authorization_url(); header("Location: ...
Xtremefaith's user avatar
0 votes
1 answer
2k views

How to use google api for wordpress login

I am using Google OAuth API to create a login system and fetching youtube channel data in Wordpress. I have done to get channel data and email id also get access_token, token_type, expires_in, ...
Yajuvendra pratap singh's user avatar
1 vote
1 answer
447 views

Authorizing a plugin to call Google Analytics v4 API on wp_cron

I am building a plugin that will need to access the administrator's analytics account and pull some data on regular intervals, using the WP-Cron mechanism. I have looked at the instructions for ...
alexg's user avatar
  • 245
0 votes
0 answers
161 views

How do WordPress plugins work with oAuth2 APIs?

I am having trouble with getting the redirect part of an oAuth2 authentication process to work correctly within a WordPress plugin. Mainly, the query string that WordPress uses for settings pages is ...
James's user avatar
  • 208
0 votes
1 answer
595 views

How to make an other web app can login with wordpress authentication?

I creating an app right now using asp.net mvc 5. My client told me they have a main system created using wordpress. and our new app must be login/auth using that wordpress user or authentication. ...
yozawiratama's user avatar
1 vote
0 answers
109 views

OAuth1 empty "authentication" in /wp-json

I'm trying to get a Meteor based app to login to WordPress using WP API OAuth1 plugin on the WordPress side. I've actually gotten pretty far with the standard /oath1 end points, which are all working. ...
Kevin Newman's user avatar
2 votes
0 answers
631 views

Use Wordpress with a custom OAuth2 provider

I have a fresh Wordpress installation and a working OAuth2 server in Node.js (made using oauth2orize). The only plugins I've been able to find let me use only the well-known OAuth2 endpoints such as ...
J. Kerber's user avatar
3 votes
0 answers
1k views

Create a php callback/endpoint for an OAuth script

I am attempting an OAuth call to a 3rd party service but having issues with my callback script. I have a file oauth.php that is within my plugin directory. First question, do I need to go to the url ...
Xtremefaith's user avatar
4 votes
1 answer
704 views

Implement authentication to an organization oAuth server

Sorry if some parts of this question seem obvious, I'm a newbie at WordPress and this is the first time I tap into oAuth workflow manually (without using a social login plugin). There is this oAuth2 ...
Shahroq's user avatar
  • 166
5 votes
0 answers
2k views

How to allow users login to WP from external domain and make REST requests

Basically what i want to do is: Use Wordpress as a login system and data storage for web-application on another domain. Make users able to register and perform REST calls from the application. Let ...
Dariusz Sikorski's user avatar
1 vote
0 answers
1k 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 ...
colbybhearn's user avatar
0 votes
1 answer
84 views

Connecting a wordpress site to an AngularJS APP

Currently I have a application that needs a blogging system added. The application is built with an AngularJS front-end and a python/Django back end. I wanted to use wordpress as the blogging system ...
jppower175's user avatar
1 vote
1 answer
301 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 ...
Ash Thornton's user avatar
1 vote
0 answers
592 views

WP - API - OAuth 1.0a Server, How to implement with AngularJS?

I making an Angular WordPress theme and I want to add authentication to it using the WP REST API - OAuth 1.0a Server plugin, which isn't documented not very well. I get oauth_token and ...
bobsilon's user avatar
  • 111
2 votes
0 answers
3k 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 /wp-json/wp/v2/users?access_token=[...
Andrew's user avatar
  • 899
1 vote
0 answers
1k views

WP OAuth Server "The grant type was not specified in the request"

I've installed WP OAuth Server to make an SSO thing with my Wordpress, but I can't get it to work proper. I followed this example on how to set up Single Sign On. I'm stuck at Step 3. I get this error:...
user2668848's user avatar
4 votes
2 answers
6k 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.
Louis93's user avatar
  • 141
0 votes
2 answers
6k views

oAuth2 Authentication in Wordpress using WP OAuth Server and WP API plugins

I am sturggling with how authentication works in my scenario. I have Wordpress site which provides set of custom APIs secured behind oAuth2 Authentication using Wp OAuth Server plugin. I started ...
Ghazanfar Mir's user avatar
3 votes
2 answers
1k views

WP-API: how do I allow authenticated clients only?

I set up an OAuth client for WP-API following the instructions for WP-API/OAuth1 on github. I was disappointed to realise afterwards that all of the site's content remains available over the API, ...
djb's user avatar
  • 2,250
11 votes
2 answers
1k views

Override WordPress user with Oauth2 account

I am trying to set up WordPress as an OAuth2 client. All of our users are stored in our proprietary CMS which is an OAuth provider. We have very little (to no) users in our WordPress database, ...
Nick's user avatar
  • 111
1 vote
0 answers
117 views

OAuth Plugin Produces Error With Yahoo

I've recently installed the OAuth plugin in my Wordpress site. For the most part, it seems to work as expected. Except when trying to login with Yahoo when it produces this error: Warning: strpos() [...
jimchristie's user avatar
0 votes
1 answer
1k views

Email verification feature in wordpress social login plugin

I'm using wordpress social login plugin.. It uses HybridAuth library. Here is a demo of HybridAuth library. The wordpress plugin looks nice. But it generates a random email for most of the social ...
PrivateUser's user avatar
  • 3,431