### What This PR updates the `login` flow by wrapping redirect routes with `encodeURIComponent`. This ensures that special characters in URLs (such as ?, &, #) are properly encoded, preventing potential issues with navigation and redirection.
### What This PR updates the `login` flow by wrapping redirect routes with `encodeURIComponent`. This ensures that special characters in URLs (such as ?, &, #) are properly encoded, preventing potential issues with navigation and redirection.