# How can I authenticate with JWT in Unity3D?

**URL:** <https://community.auth0.com/t/how-can-i-authenticate-with-jwt-in-unity3d/7307>\
**Category:** Get Help\
**Tags:** jwt, unity\
**Created:** [June 28, 2017, 8:29pm UTC](https://community.auth0.com/t/how-can-i-authenticate-with-jwt-in-unity3d/7307 "2017-06-28T20:29:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lb3114](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@lb3114](https://community.auth0.com/u/lb3114)\
**Post date:** [June 28, 2017, 8:29pm UTC](https://community.auth0.com/t/how-can-i-authenticate-with-jwt-in-unity3d/7307/1 "2017-06-28T20:29:16Z")

</div>

```
    WWWForm form = new WWWForm();
    Dictionary<string, string> headers = form.headers;
    string auth = "Token";
    headers"Authorization"] = "Bearer"+ auth;
    WWW www = new WWW(url, null, headers);

```

The basic authorization does not work.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [July 5, 2017, 5:08pm UTC](https://community.auth0.com/t/how-can-i-authenticate-with-jwt-in-unity3d/7307/2 "2017-07-05T17:08:31Z")

</div>

That is a very general question that requires more knowledge on Unity3D than on the Auth0 service itself. As such you should consider posting in a general Q&A forum like StackOverflow as you may be able to obtain faster and more relevant responses.

In relation to the question itself I would also advise you to include what exactly does not work and what’s the observed behavior.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/how-can-i-authenticate-with-jwt-in-unity3d/7307/3 "2018-03-02T05:55:02Z")

</div>


