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

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…

Hi @alezozov,
welcome to the community.

Related docs: