Problem/Motivation
Hello, if the destination address does not start with '/' '?' '#' you will get an error:
Failed to authenticate user. Exception: The user-entered string 'home' must begin with a '/', '?', or '#'.
Proposed resolution
I think that an incorrect destination address should not affect the login result.
Remove unnecessary processing of the destination address with Url::fromUserInut().
Destination address without '/' '?' '#' is also considered valid and is processed by the kernel. For example, if you remove the slash from the destination in the login form, nothing will break and you will be redirected.
Issue fork social_auth-3355379
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
kksandr commentedComment #4
keshavv commentedReviewed the MR Looks good. Moving to RTBC
Comment #6
wellsLooks good. Thanks for the fix!