Hi,
Going through a round of module updates on one of our sites, saw that Social Auth and Social API had rc1 releases on 7.13.19. Tested them out, and ended up with two errors on login with google:

Failed to authenticate user. Exception: The user-entered string '<front>' must begin with a '/', '?', or '#'.

LogicException: The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller? in Symfony\Component\HttpKernel\HttpKernel->handleRaw() (line 169 of /var/www/html/vendor/symfony/http-kernel/HttpKernel.php).

I downgraded back to Social Auth beta6 and Social API beta5, and it's back to working. I would have explored more, but those errors don't give me much to go on.

Comments

DanStorm created an issue. See original summary.

danstorm’s picture

Issue summary: View changes
danstorm’s picture

Issue summary: View changes
gvso’s picture

This is probably caused because in your Social Auth settings, you have a value that is not a path. Check #3068517

binnythomas’s picture

Facing the same issue in our Social auth setup as well. This is due to <front> being added as the Post login path. I believe its good if these kind of tokens can also be accepted.

wells’s picture

Status: Active » Closed (works as designed)