I am using reactjs + react router + iis
I am trying to do a password reset so my url lookslike
https://www.example.com/forgotPassword/CfDJ8BocAWQJpDVCswirwjHYLWRCG6zZTSxopJgdO3DDm4aO3g3PDFOjmENf6aTbq4qNUF6lMQuOot%2f1e1xZYdkM%2fV9%2bvatM6UBYNBJsZRBuiNnvnX2dPnMv8ANqg56Q2jaCXfVvW4Q%2fwGDDud28NJsFPQIBcb%2bsTnnu%2f22qwfEODpXk4e1BB8VdJWXwzEy8r1F9dq4iptdVEAf5thdUn4lMMpxsKW5r63QLCnn19GPhUcQA
On localhost it works great, on production I get a 404
If I do this on production
https://www.example.com/forgotPassword/1414
Works great as well. So I am guessing it is something with the token, I tried url encoding it as that was a problem.
My route
<Route exact path="/forgotPassword/:token" component={ResetPasswordComponent} />
for whatever reason something in the token string(if I shorten it down, it works) is making it think that it is a page
edit
if I do this
CfDJ8BocAWQJpDVCswirwjHYLWRCG6zZTSxopJgdO3DDm4aO3g3PDFOjmENf6aTbq4qNUF6lMQuOot
Page loads, it does not like the %2 in the token.
Edit
I am using the MS identity library and I am using this method from the UserManager
userManager.GeneratePasswordResetTokenAsync(employee)