Questions tagged [oauth]
The oauth tag has no usage guidance.
40
questions
0
votes
0
answers
10
views
Is there a plugin or resource for custom implementation for OAUTH and regular user login?
I have two sets of users. Internal users just exist in a black box I can authenticate using OAUTH. I also have public "randos" that will be mostly scammers & spammers that I need to have ...
0
votes
1
answer
68
views
WordPress getting data from external API
I am trying to create a Plugin that does the following jobs:
Authenticate the user to get Bearer token 'access_token'
Get data from API and store in Database
I have checked all the APIs and ...
0
votes
0
answers
18
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 ...
0
votes
0
answers
104
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 ...
0
votes
1
answer
574
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'...
1
vote
0
answers
31
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 ...
1
vote
0
answers
23
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 ...
0
votes
1
answer
249
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 ...
1
vote
0
answers
93
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 ...
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 ...
1
vote
1
answer
325
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. ...
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/...
1
vote
1
answer
72
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 ...
2
votes
1
answer
63
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 ...
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' => ...
0
votes
1
answer
2k
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 ...
1
vote
1
answer
1k
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 ...
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 ...
3
votes
0
answers
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: ...
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, ...
1
vote
1
answer
457
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 ...
0
votes
0
answers
171
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 ...
0
votes
1
answer
626
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.
...
1
vote
0
answers
114
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. ...
2
votes
0
answers
641
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 ...
4
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 ...
4
votes
1
answer
720
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 ...
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 ...
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 ...
0
votes
1
answer
86
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 ...
1
vote
1
answer
305
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
0
answers
601
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 ...
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=[...
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:...
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.
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 ...
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, ...
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, ...
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() [...
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 ...