React Router and the ?code Parameter

Hi There
I have implemented Auth0 so far. It is absolutely awesome but there is one thing i dont get fixed. After the Login the Auth0Provider adds a “?code=” and a “state=” parameter to my URL now when i use normal react Router Links i loose those informations and after a refresh i loose my auth0 Authentication.

How do you fix that? i mean there musst be a solution for this?

Hey there @RushPuppy, welcome to the Auth0 Community!

I apologize for the delay in response but following up here. I would be happy to take a deeper look if you could direct message me your tenant information. Aside from that, I would also recommend taking a peek at our React SDK quickstart which shows a tried and true way in getting started with React + Auth0. Thanks in advance!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.