Answer the question
In order to leave comments, you need to log in
How to make authorization through wp rest api?
I can’t figure out how to implement authorization through the rest api of WordPress. Given:
Front - Vue
Backend - wordpress
The goal is to implement user authorization through wp rest api.
I found an article https://cmscafe.ru/docs/wordpress/rest-api/818-wp-... but I can't figure out how to apply this to user authorization? There, at one of the steps, you need to log in through the WordPress form, but I need the authorization to go completely through my form on the site through the WordPress api. Or am I not understanding something? I would appreciate any kicks in the right direction.
Answer the question
In order to leave comments, you need to log in
I recently read one article about rest application. There the author speaks about crutches with authorization. It's still a bug in WP. Maybe after the release of Gutenberg they will go further to develop it. Resolved by third party plugins. Try this solution https://wordpress.org/plugins/jwt-authentication-f...
Well, there are several plugins of this kind - dig in this direction
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question