#4 JWT Authentication for WP REST API Plugin | React WordPress tutorial | React WordPress theme

#4 JWT Authentication for WP REST API Plugin | React WordPress tutorial | React WordPress theme

Imran Sayed - Codeytek Academy

5 лет назад

21,215 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ali Bahrami
Ali Bahrami - 17.03.2021 08:37

This approach only works for reading the API on client localhost. On the sever, there is a 403 error which is related to CORS rules.

Ответить
Esvaramoorthy Vipisanan
Esvaramoorthy Vipisanan - 05.11.2020 10:55

did you post the WordPress develeopment tutorial for this?

Ответить
Francis Chin
Francis Chin - 27.07.2020 22:05

I need to add import { Redirect } from "@reach/router"; at the login.js in order for Redirect to work. But it is not mentioned in your tutorial...am I missing something?

Ответить
Donovan Nagel
Donovan Nagel - 11.01.2020 13:46

Brilliant. Can this exact process be used in production for login on a Next.js + headless Wordpress membership site?

Ответить
Steven Palm
Steven Palm - 07.01.2020 09:14

THanks so much for sharing, this is great information to get a huge head start on learning how this all works.

Ответить
Muhammad Fahim
Muhammad Fahim - 13.12.2019 09:30

i want to create react native app with wordpress login i follow yours code but not working.
react native 0.61.5 <form> and <button> not working.
please help me how to solve this

Ответить
Sam B.
Sam B. - 10.12.2019 07:26

Another great tutorial! How would I create an error message if login credentials are wrong? I understand we've created an error, but maybe it's not working for me. It gives me an error of: (Uncaught (in promise) TypeError: Cannot read property 'data' of undefined
at eval) and the loader is still set to true for some reason, even though it should be set to False when undefined === res.data.token. Thanks in advance

Ответить
Members Love Golf Memberships
Members Love Golf Memberships - 06.11.2019 16:14

Hi Imran, is there any chance of a tutorial on how to send contact forms with React and WP.... This tutorial series is what taught me react even after buying tutorials on Udemy!!


Keep up the good work!!

Ответить
Shahadat Shuvo
Shahadat Shuvo - 17.10.2019 19:14

Brother, please help me. I made a React App using WP REST API. Now I want to add numeric pagination in posts page of my react app. I tried many times, but I don't find any solution.

Ответить
Salman Aziz
Salman Aziz - 19.09.2019 09:25

Bro can you also teach how to use the contact form and send email through it? or by using any plugin in?

Ответить
Redwanul Islam
Redwanul Islam - 05.09.2019 17:03

Hello Imran sir , how can I authenticate using email and password? Instead of username .

Ответить
Deniz tb
Deniz tb - 19.08.2019 09:24

Thank you. its very helpful 😊😍 but you stopped that in most important and useful part of tutorial 😐🤕

Ответить
Fanis Mahmalat
Fanis Mahmalat - 27.07.2019 00:44

Hello! Are those credentials the user's WP account? and what profile roles are authorized through JWT?

Ответить
Adrian Lopez
Adrian Lopez - 20.07.2019 15:29

lovely bro, i was crazy about auth my react app with my wp database, thanks!
a question, can u fetch other info from the wp rest api, like profile-photo url?

Ответить