You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently after POST on loginPath you're being redirected to either rootPath or redirectTo from session. The problem is, it uses 307 redirect which keeps the request method and form data.
In some circumstances (eg. using with nestjs) you might end up with redirecting to the rootPath AS a POST request, so you'll see the message that route POST ${rootPath} does not exist.
Solution
Redirect from POSTloginPath using 302 status
The text was updated successfully, but these errors were encountered:
PR: #35
Problem
Currently after
POST
onloginPath
you're being redirected to eitherrootPath
orredirectTo
from session. The problem is, it uses 307 redirect which keeps the request method and form data.In some circumstances (eg. using with nestjs) you might end up with redirecting to the
rootPath
AS aPOST
request, so you'll see the message thatroute POST ${rootPath}
does not exist.Solution
Redirect from
POST
loginPath
using 302 statusThe text was updated successfully, but these errors were encountered: