Closed
Description
I had a lot of difficulty getting the redirect to work on sign in. I melded the code from both the credentials and the redirect segment into my login page thinking that this would work:

I was receiving the info on the backend, validating the password, and returning a user. However, it was not respecting the redirectTo option that I was passing in. It took me a long time to realize that I could put the "redirectTo" path inside of the formData, and that the signIn function would respect that.
I may have been too tired to read TS types effectively at that moment, but I think it would be helpful to add "how to redirect with credentials" mention to the this section for the future (unless I totally missed it being there already).