Skip to content

Instantly share code, notes, and snippets.

@Maras0830 Maras0830/routes-web.php
Last active Dec 23, 2016

What would you like to do?
Route::get('/redirect', function () {
$query = http_build_query([
'client_id' => '5',
'redirect_uri' => '',
'response_type' => 'code',
'scope' => 'Facebook_information GitHub_information', //加上 scopes
return redirect(''.$query);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.