Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

oauth

How to use google api for wordpress login

I’m also working on plugin which uses google oAuth and YouTube data API. The functionality works on backend, admin logs in just once using his gmail credentials and then with use of refresh_token we can keep him logged in. Keep in mind the refresh token is generated only the first time you give access to … Read more

Categories login Tags api, google, login, oauth

Output Redirect Headers on Admin Dashboard Page

Output Redirect Headers on Admin Dashboard Page

Categories hooks Tags hooks, oauth, wp-redirect

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

Without knowing what Google OAuth plugin you’re using (and how it internally signs a user in), the only way is to override the pluggable function wp_set_auth_cookie, setting $remember to always true: if ( ! function_exists( ‘wp_set_auth_cookie’ ) ) : /** * Sets the authentication cookies based on user ID. * * The $remember parameter increases … Read more

Categories functions Tags functions, login, oauth, pluggable

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

You will have to follow the details from the developers website located here. (FYI, I am one lead on the project). Basically, what is boils down to, is that you are going to create a client in WP OAuth Server and give the details to your authenticated users. Your users would then setup using the … Read more

Categories plugins Tags oauth, plugins, wp-api

WooCommerce OAuth 1.0 + JWT authentication with JS/React

Puuh, after a full day of research in total, I realized the problem.. First of all, the code above is not supposed to work actually. The oauth parameters have to go into the query string apparently. That’s how all WooCommerce client APIs do it: post(endpoint, data_params, params = null) { const method = ‘POST’ const … Read more

Categories authentication Tags authentication, oauth

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

There are two possible solutions depending on what kind of relationship you expect to have with the people that use the plugin. Instruct them how to create an app and which URLs to use to be compatibe with what you expect in the plugin, have a setting page at the wordpress admin in which they … Read more

Categories plugin-development Tags api, google, oauth, plugin-development

OAuth Plugin Produces Error With Yahoo

OAuth Plugin Produces Error With Yahoo

Categories plugins Tags oauth, plugins

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

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

Categories api Tags api, curl, oauth

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

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

Categories wp-api Tags oauth, rest-api, wp-api

OAuth 2 and saving the authenticated user

It seems like you are insisting on making your life difficult. Implementing any type of API is error prone to the best of developers and real time sync can fail due to network errors, bugs etc, and I would be very hesitant before selecting such an option. Using a network is probably the best option … Read more

Categories users Tags authentication, oauth, password, s2member, users
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page6 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress