search

Home  >  Q&A  >  body text

laravel authorization problem

Route::get('/redirect', function () {
    $query = http_build_query([
        'client_id' => '3',
        'redirect_uri' => 'http://localhost/auth/callback',
        'response_type' => 'code',
        'scope' => '',
    ]);

    return redirect('http://www.a031.com/oauth/authorize?'.$query);
});

Why does this keep appearing? All the accounts I entered are invalid. It seems to be authentication from the server, but I don’t need it. I’m already logged in!

What should I do so that the authentication and authorization page can appear? Remove this verification input box

给我你的怀抱给我你的怀抱2773 days ago447

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-16 16:51:07

    Are you sure that 'redirect_uri' and return redirect are filled in correctly? There may be something wrong with the url

    reply
    0
  • Cancelreply