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. 

enter image description here


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -