# JWT with recent Safari and Mozila update reguarding 3rd party cookies

**URL:** <https://community.auth0.com/t/jwt-with-recent-safari-and-mozila-update-reguarding-3rd-party-cookies/40044>\
**Category:** Get Help\
**Tags:** jwt, custom-login\
**Created:** [March 27, 2020, 7:08am UTC](https://community.auth0.com/t/jwt-with-recent-safari-and-mozila-update-reguarding-3rd-party-cookies/40044 "2020-03-27T07:08:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alezozov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alezozov/32/20105_2.png) [@alezozov](https://community.auth0.com/u/alezozov)\
**Post date:** [March 27, 2020, 7:08am UTC](https://community.auth0.com/t/jwt-with-recent-safari-and-mozila-update-reguarding-3rd-party-cookies/40044/1 "2020-03-27T07:08:24Z")

</div>

Hi (question bellow about my custom implementation)

What your suggestion to do to implement jwt for widgets (scripts and server of widgets are hosted by me) that are embeddable on other sites.  
Users will log in to those widgets using social networks. In this case, jwt only can be stored in the cookie.  
Problem is that with a recent update as I see Mozilla and safari is fighting with privacy and will prohibit using 3rd party cookies, (and storing in local storage makes parent site access to jwt of a widget) any thoughts on how to use jwt in such scenarios…

---

<div class="post-metadata">

**Author:** ![mathiasconradt](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mathiasconradt/32/12758_2.png) [@mathiasconradt](https://community.auth0.com/u/mathiasconradt)\
**Post date:** [March 27, 2020, 9:09am UTC](https://community.auth0.com/t/jwt-with-recent-safari-and-mozila-update-reguarding-3rd-party-cookies/40044/2 "2020-03-27T09:09:01Z")

</div>

Hi @alezozov,  
welcome to the community.

Related docs:

> **[Troubleshoot Renew Tokens When Using Safari](https://auth0.com/docs/troubleshoot/authentication-issues/renew-tokens-when-using-safari)**
>
> Issues with token renewal in Safari when ITP is enabled.

> **[Cross-Origin Authentication](https://auth0.com/docs/authenticate/login/cross-origin-authentication)**
>
> An explanation of cross-origin authentication in Auth0 and its compatibility with browsers
