Comment on page

Laravel Passport

If you wish to use this package alongside Laravel Passport, you may encounter the following error message when attempting to authorise with Passports OAuth server:
Driver [authorize] not supported
This is because Socialstream registers routes using the oauth/{provider} structure. This conflicts with Laravel Passports oauth/authorize route. To solve this, you may set a route prefix in your applications socialstream.php config file:
'prefix' => 'auth',
Alternatively, if you wish to keep the prefix Socialstream uses, you may alter add prefix to Passport's routes by adding the following to the boot method of your applications AuthServiceProvider.php file:
Passport::routes([
'prefix' => 'passport-oauth',
]);