Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all 169539 articles
Browse latest View live

Autologin via JWT from JWT Authentication for WP REST API Plugin

$
0
0

Replies: 0

I’m trying to login with a token generated by the JWT Authentication for WP REST API plugin: https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/

However, I am getting “Signature verification failed” or “Invalid Auth Code ( auth_key ) provided.”

Here is how I’m trying to archive this:

On wp-config.php, I have several variables for JWT settings:

AUTH_KEY
SECURE_AUTH_KEY
LOGGED_IN_KEY
NONCE_KEY
AUTH_SALT
SECURE_AUTH_SALT
LOGGED_IN_SALT
NONCE_SALT
and
JWT_AUTH_SECRET_KEY

I know theses setting are working because a POST request to {base-url}/wp-json/jwt-auth/v1/token with a username and password brings a response with a token key…

…and I know this token value (JWT) is valid because:
– I can validate it by verifying its signature with ‘AUTH_KEY’ (AUTH_KEY_VALUE);
– I can decode it and its decoding brings:
– header: {
“typ”: “JWT”,
“alg”: “HS256”
}
– payload: {
“iss”: {base-url},
“iat”: 1585476672,
“nbf”: 1585476672,
“exp”: 1586081472,
“data”: {
“user”: {
“id”: “1247”
}
}
}

On Simple JWT Login Settings I defined:

– General tab:
– JWT Decryption Key / JWT decryption signature: JWT_AUTH_SECRET_KEY
– JWT Decrypt Algorithm: HS256

– Auth Codes tab:
– Auth Code URL Key: “auth_key”
– Auth Codes: AUTH_KEY

– Auth Codes tab:
– Allow Auto-Login as Yes
– Auto-Login Requires Auth Code: I’ve tried both “No” and “Yes” which brings different erros
– JWT Login Settings: I’ve tried both “Log in by Email” and “Log in by WordPress User ID”
– JWT parameter key: I’ve tried: data.user.id, user.id, id, etc, etc.. o difference

I’m trying to autologin via browser or Postman via GET request to:
– when Auto-Login Requires Auth Code: No => {base-url}?rest_route=/simple-jwt-login/v1/autologin&jwt=JWT
– its response is: {
“success”: false,
“data”: {
“message”: “Signature verification failed”,
“errorCode”: 11
}
}
– when Auto-Login Requires Auth Code: Yes => ?rest_route=/simple-jwt-login/v1/autologin&jwt=JWT&auth_key=AUTH_KEY_VALUE
– its response is: {
“success”: false,
“data”: {
“message”: “Invalid Auth Code ( auth_key ) provided.”,
“errorCode”: 27
}
}

Why AUTH_KEY_VALUE is said to be invalid if its its signature it verified?
What I doing wrong here?

Thank you very much.


Alignment of Text Data & Specific Stats showcase

$
0
0

Replies: 1

Hi Duke,

Amazing Plugin, loved it.

We have setup the plugin at [ redundant link removed ] and wanted to know a few things.

  • Can the Text Data limited to show information in a specific size like 500px by 400px table format instead of free size?
  • Why is there a huge delay in the numbers for India? We have crossed 1000 cases yesterday and its still reporting 983 & users are questioning if our data is correct, so any chance of getting faster data?
  • Can you move the Last update on: line to the bottom instead of being at the top of the data?
  • The world map does not show the map but just shows color bubbles – [ redundant link removed ]

Can you please update on the same?
Regards
Amit Bhawani

Not tag’s title, tag’s slag please!!

$
0
0

Replies: 0

Not tag’s title, tag’s slag please!!

Primary category ignored

$
0
0

Replies: 0

Hi team,
Please advice regarding Google shopping feed.

g:product_type is mapped to category path

I have products which are assigned to several categories. 1 of them is marked as primary. However when feed is generated it looks like the “primary” category is ignored and g:product_type path is set to one of the other categories this product is participating in.

Example:
This product: https://www.lekkerhoning.nl/product/uiercreme-met-royal-jelly/

Is part of Verzorging > Royal Jelly
and
Verzorging > Huidverzorging

Huidverzorging is set as primary. However in the feed:
<g:product_type>Home > Verzorging > Royal Jelly</g:product_type>

Thank you

Great job in search of a google maps replacement solution

$
0
0

Replies: 0

Thank you Midhan for this great job, same interface, same admin, very nice !
Now ready to build us an OpenStreetMap solution ? 😉

Body text won’t change in customer processing email

$
0
0

Replies: 0

The plugin is great, thanks so much! (Why does wordpress feel the need to make it so difficult to edit emails without a plugin though??)
I’ve changed everything on the emails and I’m really happy with how they look now. The only problem is on the ‘Customer Processing Email’ it won’t let me alter the body text. I’ve tried replacing it but it won’t change from “Just to let you know — we’ve received your order #9186, and it is now being processed:”
Any idea how this can be resolved? Thanks!

Issue when you show pictures

$
0
0

Replies: 0

Hello,

I have one big error in all of my pages of my wbesite because when you try to show the pictures, for example in the link attached, you can show 6 pictures and if you click in one of them to rotate to show the other ones, you get 29 pictures when the total should be 6.

It’s say, you show all of the pictures of the page when the group of pictures are not together, created by 6 or 8 in the photo gallery settings.

The error corresponds to show all of the pictures of the website when you have to show the group of the pics, 6 for example and not 29.

could you help me please?
I love this plugin but it’s a big problem to get the pictures together of other different sections.

How do I display POST CATEGORIES ?

$
0
0

Replies: 1

I’m trying to show POST CATEGORIES, and not show post from a category.

But I find this very difficult with elementor?

The page is [ redundant link removed ]

How can I do this?


confusion

$
0
0

Replies: 0

i am a bit confused that
Return Refund and Exchange For WooCommerce and WooCommerce RMA For Dokan these two are two different plugin or are the same plugin if they are different then whats the difference between them and with which one i should go and do WooCommerce RMA For Dokan has any free version that i can test on my site

Hide the lesson until students pass the quizzes

$
0
0

Replies: 0

Hello! thanks fore great plugin.
Do you have function or addon for hide lessons, before students will pass the quizz?
After some percentage of quizz will be open the next lessom. I think you understand me. Thanks

How to change the URL of category

$
0
0

Replies: 0

I will like to change the URL of the various categories of my site to this schema:

two47news.com/categoryname E.g. two47news.com/tips.

Currently, the URLs show as two47news.com/category/categoryname two47news.com/category/tips

This does not affect the individual stories under each category, which uses this schema: two47news.com/category/postname E.g.
https://two47news.com/tips/atm-services-atm-transactions-cash-machine-withdrawal/

I am totally baffled as to while the category appears as it does, which I suspect is also behind Breadcrumb errors that my Google Search Console highlights but that will another thread.

Please every useful advice will be appreciated. Also, please note that I am not really a technical person and rely on the community and Google to sort issues I encounter on the site.

Thank you in advance.

remove plugin when i am done

$
0
0

Replies: 1

Hi there,

First of all this is an amazing plugin as far as i can tell!

This is probably a vey stupid question… 🙂

When i am done with html source cleanupp, site wide common onloads, google fonts and checking all pages and products for files that can be disabled.

Am i now ok to deactivate and remove the plugin and will all changes i made still be active or should this plugin stay activated for the changes to keep having effect?

Kind regards,

Dominic

A layer above team

$
0
0

Replies: 0

Hi Roch

Here I am again!

The first table in the page uses the CSS styles of a Sportspress league table but it’s written manually.

This table features “the club layer”. If you have a look to the second table, you’ll see that the 3rd and 4th bikers are from the same club (BARCELÓ SANTS). And this club in the first table gets 8 points (5 for the third position and 3 for the forth).

I wonder if there is a way to implement the “club layer” so the first table was an output of Sportpress.

Difficult, isn’t it?

Marc

open default on large screens, closed default on small ones

$
0
0

Replies: 0

Is there any way that I can set the default state to ‘Open’ for laptops and larger screens and ‘Closed’ for smartphones?

Rev Slider issue

$
0
0

Replies: 0

Hi when I activate this plugin I loose the ability to edit any sliders from revolution slider plugin. Everything is fine in the front-end its the back-end that has issues.

Please advise

  • This topic was modified 20 minutes ago by tonym3232.
  • This topic was modified 19 minutes ago by tonym3232.

Plugin works perfectly, awesome support!

$
0
0

Replies: 0

Very intuitive, reliable plugin and easy to use. Provides settings that other Quantity Plugins do not have. Support is very kind and replies quickly. Highly recommended!

Remove “All” Filter

$
0
0

Replies: 0

I would like to display a selected portfolio at the first load, not all of it.
Is there any chance to get rid of the all filter and set another filter as the standard filter?

thanks! btw i really love your plugin <3

Add product details

$
0
0

Replies: 0

Do the plugin allow to add the product details like color, size, etc

Very Easy to use

$
0
0

Replies: 0

…and easy to setup !

Top Quality

$
0
0

Replies: 0

Top Quality! Thanks a lot for your plugin, guys. It was very helpful for my current project.

Viewing all 169539 articles
Browse latest View live