# Problems with json authentication

**URL:** <https://discussions.flightaware.com/t/problems-with-json-authentication/25443>\
**Category:** AeroAPI\
**Created:** [September 7, 2017, 3:15pm UTC](https://discussions.flightaware.com/t/problems-with-json-authentication/25443 "2017-09-07T15:15:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lidorabo2](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@lidorabo2](https://discussions.flightaware.com/u/lidorabo2)\
**Post date:** [September 7, 2017, 3:15pm UTC](https://discussions.flightaware.com/t/problems-with-json-authentication/25443/1 "2017-09-07T15:15:31Z")

</div>

Hello everyone,  
Recently i encountered with this problem when i try to access flight json api of flightaware.  
i will happy to get your help.

 ![‏‏picture](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/1X/359bf07815e0df03be8cda478116d91d41507286.JPG)

---

<div class="post-metadata">

**Author:** ![conej730](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/conej730/32/122980_2.png) [@conej730](https://discussions.flightaware.com/u/conej730)\
**Post date:** [September 8, 2017, 6:30pm UTC](https://discussions.flightaware.com/t/problems-with-json-authentication/25443/2 "2017-09-08T18:30:08Z")

</div>

Are you authenticating directly through javascript in the browser? If so browsers have been making that more difficult and we would recommend moving your FlightXML calls into your backend server to protect your username and apiKey.
