Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

authentication

How to: Make JWT-authenticated requests to the WordPress API

August 4, 2022August 3, 2022 by Magenaut

This is not really a question but a guide on how to make authenticated requests to the WordPress API using JWT. I’m writing this as a reminder to myself and for those who may need some help with the same topic.

Categories Q&A, Wordpress Tags authentication, rest-api Leave a comment

Extend WordPress (4.x) session and nonce

August 4, 2022August 3, 2022 by Magenaut

We’ve got a small web application that allows users to log in (via WordPress) and remain logged in for a max 15 min session for security purposes. Because most sessions will last longer, I have a small ajax call that’s made on each click of the html document itself.

Categories Q&A, Wordpress Tags authentication, nonce, session Leave a comment

Set up WP Authentication from External API

August 4, 2022August 3, 2022 by Magenaut

There’s an existing non-WP site, and I need their users to be able to log in on my new WordPress site with the same credentials they already have.

Categories Q&A, Wordpress Tags api, authentication Leave a comment

JWT authentication with WP – Approach

August 3, 2022August 2, 2022 by Magenaut

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:

Categories Q&A, Wordpress Tags authentication, single-sign-on Leave a comment

why does WordPress need two cookies for auth/login

August 3, 2022August 2, 2022 by Magenaut

I can see two cookies: auth and login cookies in wordpress. Why do we need two?
I think one is enough.

Categories Q&A, Wordpress Tags authentication, cookies Leave a comment

Can I authenticate with both WooCommerce consumer key and JWT?

August 1, 2022July 31, 2022 by Magenaut

I want to authenticate against both:

Categories Q&A, Wordpress Tags authentication, rest-api Leave a comment
Newer posts
← Previous Page1 … Page12 Page13
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress