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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -