mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
remove token from confirmation route
This commit is contained in:
parent
fa37dd62a9
commit
46be0bf268
@ -23,7 +23,7 @@ class GoCardlessOAuthController extends Controller
|
||||
{
|
||||
$params = [
|
||||
'client_id' => config('services.gocardless.client_id'),
|
||||
'redirect_uri' => route('gocardless.oauth.confirm', ['token' => $request->getCompany()->company_key]),
|
||||
'redirect_uri' => route('gocardless.oauth.confirm'),
|
||||
'scope' => 'read_write',
|
||||
'response_type' => 'code',
|
||||
'prefill[email]' => 'ben@invoiceninja.com',
|
||||
|
@ -52,4 +52,4 @@ Route::get('gocardless/ibp_redirect/{company_key}/{company_gateway_id}/{hash}',
|
||||
Route::get('.well-known/apple-developer-merchantid-domain-association', [ApplePayDomainController::class, 'showAppleMerchantId']);
|
||||
|
||||
Route::get('gocardless/oauth/connect/{company_key}', [GoCardlessOAuthController::class, 'connect']);
|
||||
Route::get('gocardless/oauth/connect/{company_key}/confirm', [GoCardlessOAuthController::class, 'confirm'])->name('gocardless.oauth.confirm');
|
||||
Route::get('gocardless/oauth/connect/confirm', [GoCardlessOAuthController::class, 'confirm'])->name('gocardless.oauth.confirm');
|
||||
|
Loading…
x
Reference in New Issue
Block a user