简体   繁体   中英

ITP blocks Auth0 with auth0-react

The Safari ITP blocks my Auth0 authentication in my React App, and it seems that Firefox is doing something similar.

I tried the various solutions such as using useRefreshTokens="true" in my <Auth0Provider> but I had to default to using localStorage (I am aware of the implications, but in a case of a XSS attack, using httpOnly token won't save you if the attacker wants to call your API anyway).

Is using the option useRefreshTokens and modifying the Application's parameter on the website enough to use it, or is it necessary to call a function from the library?

The documentation and forums seem to be extremely lacking clarity in the way it works.

I've had so many drawbacks using Auth-0 and auth0-react that I'm probably gonna ditch it and do it myself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM