Auth0 failing after F5 in React

Hi @EvalVis

Welcome to the Auth0 Community!

Thank you for posting your question. I’ve found the knowledge solution that should probably solve your issue with 400 Bad Request after the user hits F5. Can you try to implement onRedirectCallback function in your code → Auth0ProviderOptions | @auth0/auth0-react. You can read more about that here → State and Code Parameters Stuck in URL react-auth0 - User Getting Logged Out on Page Refresh

Thanks
Dawid

1 Like