A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [oauth]

The tag has no usage guidance.

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

iframe token flow for SSO OAUTH2

I run a Wordpress site (page A), locally in the company network. A login is required on the site. Our Company SSO via OIDC / OAUTH2 is implemented and working. The intranet also works with our ...
1
vote
1answer
11 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
1answer
32 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 ...
0
votes
0answers
10 views

Redirect URI on Wordpress Admin Submenu Page

I have a submenu page with this url: /wp-admin/options-general.php?page=getty-options This works well but i have a Redirect URI from an api using that url which results in: /wp-admin/options-...
0
votes
0answers
435 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
1answer
186 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 ...
0
votes
0answers
190 views

Authenticate my WordPress Plugin Client via OAuth2 “Authorization Code Grant”

I am about to create a WordPress Plugin with Client functionality. I basically want to post wordpress-data to a remote server using the servers REST-API (short overview: I want to simultaneously add ...
1
vote
1answer
368 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
1answer
1k 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 ...
2
votes
1answer
665 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
2answers
1k 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, ...
0
votes
1answer
249 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
0answers
82 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
1answer
285 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
0answers
89 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
0answers
532 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 ...
3
votes
0answers
766 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
1answer
353 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 ...
4
votes
0answers
1k 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
0answers
792 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
72 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
1answer
216 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
553 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
0answers
2k 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
0answers
892 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
2answers
5k 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
2answers
5k 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
2answers
991 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, ...
10
votes
1answer
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
0answers
115 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
1answer
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 ...