$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>authentication - Best Authetication between REST API and Mobile App|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

authentication - Best Authetication between REST API and Mobile App

matteradmin9PV0评论

I am developing a mobile app, with WordPress REST API.

What is the recommended authentication method and plugin to use for?

here the list I found:

  • OAuth 1.0a
  • OAuth 2.0
  • JWT Authentication
  • Two-Factor Authentication

I am developing a mobile app, with WordPress REST API.

What is the recommended authentication method and plugin to use for?

here the list I found:

  • OAuth 1.0a
  • OAuth 2.0
  • JWT Authentication
  • Two-Factor Authentication
Share Improve this question asked Aug 10, 2017 at 10:03 Ali BasheerAli Basheer 3013 silver badges11 bronze badges 2
  • JWT seems very popular because of scalability and easeness of deployment, as it is more standardized the way you do things than OAuth that admits disparate implementations. JWT could be considered in some way a standardized implementation of TFA. – Jesús Franco Commented Aug 11, 2017 at 22:44
  • Yeah, after trying the OAuth, I ended up using JWT for the reasons you mentioned. – Ali Basheer Commented Aug 12, 2017 at 23:29
Add a comment  | 

1 Answer 1

Reset to default 1

JWT Authentication is very Popular and easy to config. For Two Factor Authentication use this JWT Athhentication Plugin .

Post a comment

comment list (0)

  1. No comments so far