Title: JSON import with authorization
Last modified: February 14, 2022

---

# JSON import with authorization

 *  Resolved [zmancrow](https://wordpress.org/support/users/zmancrow/)
 * (@zmancrow)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/json-import-with-authorization/)
 * Hi. I was hoping to use your plugin to pull in a JSON feed. However the JSON 
   feed needs authentication first. I only have a user name and password to work
   with.
 * Is there a way to do this?
    -  This topic was modified 4 years, 2 months ago by [zmancrow](https://wordpress.org/support/users/zmancrow/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/json-import-with-authorization/#post-15366677)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Sorry, it’s not directly possible to import from sources that are protected by
   a login or that require authorization. That’s because WordPress does not offer
   native features for this.
    My recommendation would be to use a custom PHP wrapper
   script, kind of like a “man in the middle”. This would receive the import request
   from TablePress, and send out the authorized request to your JSON feed API. You
   could then also use that script to alter the JSON return format to a two-dimensional
   array.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘JSON import with authorization’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/json-import-with-authorization/#post-15366677)
 * Status: resolved