Title: add rest api
Last modified: April 12, 2025

---

# add rest api

 *  Resolved [peq42](https://wordpress.org/support/users/peq42/)
 * (@peq42)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/add-rest-api/)
 * Sometimes users need to login to my website from an external app/game, and if
   the account has 2FA with your plugin there’s no way to do so as there’s no support
   for rest apis.
 * PLEASE add one. I believe I requested this before but got no response. I’ll change
   plugins and leave a 1 star review if ignored/declined again.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadd-rest-api%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/add-rest-api/#post-18416247)
 * Hello [@peq42](https://wordpress.org/support/users/peq42/)
 * Thank you for posting on these forums and for trying our plugin.
   In regards to
   2FA on REST API, we generally recommend using [Application Passwords](https://melapress.com/wordpress-application-passwords/)—
   these are supported in WordPress core and provide a secure, standard way for 
   authenticating API requests, even when 2FA is enabled. This is a widely adopted
   approach, even used and recommended by the likes of Facebook and Google, for 
   example when configuring apps on your smarthphone.
 * The reason is that support for a 2FA challenge in a REST API call typically needs
   to be implemented natively within the app making the request. So unfortunately,
   there isn’t really a “universal solution” for this kind of setup.
 * Could you share a bit more about your use case, and if there’s a specific reason
   why Application Passwords aren’t suitable in your case?
 * Also, if you’ve reached out before and didn’t get a response, we truly apologize.
   We do our best to reply to every message and rarely miss one, but unfortunately,
   sometimes it still happens.
 * Looking forward to hearing from you.

Viewing 1 replies (of 1 total)

The topic ‘add rest api’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/add-rest-api/#post-18416247)
 * Status: resolved