I have integrated wordpress into a rails application. I am using Rails
to build a few additional applications on top of Wordpress. Wordpress
already has a user authentication system. I want to make use of this
system and let Wordpress do the user management instead of building
another one in Rails app. But Wordpress authentication is build using
PHP. So I can't directly call those functions in my Rails app. What's
the best way to solve this?