laravel 5.3 - Hardcoding url works in services.php but route name does not work -
i learning login gmail. that, had set gmail api credentials in services.php
i tried 2 procedures:
working part
'google' => [ 'client_id' => 'id', 'client_secret' => 'secret', 'redirect' => 'http://localhost:1234/register', ],
not working part
'google' => [ 'client_id' => 'id', 'client_secret' => 'secret', 'redirect' => route('showgoogleregistrationform'), ],
can suggest why should not work if write route name instead of hard coding url?
error details
route [showgoogleregistrationform] not defined.
Comments
Post a Comment