2018-10-04 19:10:43 +02:00
|
|
|
<?php
|
2020-06-27 15:53:12 +02:00
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
//Auth::routes(['password.reset' => false]);
|
|
|
|
|
2020-02-13 12:27:42 +01:00
|
|
|
Route::get('/', 'BaseController@flutterRoute')->middleware('guest');
|
2021-04-09 07:53:12 +02:00
|
|
|
// Route::get('self-update', 'SelfUpdateController@update')->middleware('guest');
|
2021-04-09 03:22:11 +02:00
|
|
|
|
2020-03-18 10:40:15 +01:00
|
|
|
Route::get('setup', 'SetupController@index')->middleware('guest');
|
2020-07-02 13:58:39 +02:00
|
|
|
Route::post('setup', 'SetupController@doSetup')->middleware('guest');
|
2021-04-08 12:01:00 +02:00
|
|
|
Route::get('update', 'SetupController@update')->middleware('guest');
|
2020-07-02 13:58:39 +02:00
|
|
|
|
2020-03-26 22:43:44 +01:00
|
|
|
Route::post('setup/check_db', 'SetupController@checkDB')->middleware('guest');
|
|
|
|
Route::post('setup/check_mail', 'SetupController@checkMail')->middleware('guest');
|
2020-07-02 13:58:39 +02:00
|
|
|
Route::post('setup/check_pdf', 'SetupController@checkPdf')->middleware('guest');
|
2019-04-04 00:40:56 +02:00
|
|
|
|
2021-06-01 01:02:30 +02:00
|
|
|
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->middleware('domain_db')->name('password.request');
|
2020-03-11 00:40:10 +01:00
|
|
|
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
|
2022-06-21 11:57:17 +02:00
|
|
|
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->middleware(['domain_db', 'email_db'])->name('password.reset');
|
2021-05-22 07:10:10 +02:00
|
|
|
Route::post('password/reset', 'Auth\ResetPasswordController@reset')->middleware('email_db')->name('password.update');
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2021-05-05 11:06:55 +02:00
|
|
|
Route::get('wepay/signup/{token}', 'WePayController@signup')->name('wepay.signup');
|
2021-06-11 09:39:51 +02:00
|
|
|
Route::get('wepay/finished', 'WePayController@finished')->name('wepay.finished');
|
2021-05-05 11:06:55 +02:00
|
|
|
|
2018-10-15 07:00:48 +02:00
|
|
|
/*
|
2018-10-19 05:45:55 +02:00
|
|
|
* Social authentication
|
2018-10-15 07:00:48 +02:00
|
|
|
*/
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2021-05-24 11:39:21 +02:00
|
|
|
Route::get('auth/{provider}', 'Auth\LoginController@redirectToProvider');
|
2020-02-13 12:27:42 +01:00
|
|
|
// Route::get('auth/{provider}/create', 'Auth\LoginController@redirectToProviderAndCreate');
|
2018-10-21 00:26:21 +02:00
|
|
|
|
2018-10-19 05:45:55 +02:00
|
|
|
/*
|
|
|
|
* Inbound routes requiring DB Lookup
|
|
|
|
*/
|
2020-03-11 00:40:10 +01:00
|
|
|
Route::group(['middleware' => ['url_db']], function () {
|
|
|
|
Route::get('/user/confirm/{confirmation_code}', 'UserController@confirm');
|
2020-06-26 14:20:45 +02:00
|
|
|
Route::post('/user/confirm/{confirmation_code}', 'UserController@confirmWithPassword');
|
2020-09-06 11:38:10 +02:00
|
|
|
});
|
2021-05-10 03:03:17 +02:00
|
|
|
|
|
|
|
Route::get('stripe/signup/{token}', 'StripeConnectController@initialize')->name('stripe_connect.initialization');
|
2021-05-31 16:23:18 +02:00
|
|
|
Route::get('stripe/completed', 'StripeConnectController@completed')->name('stripe_connect.return');
|
|
|
|
|
2022-02-20 09:02:57 +01:00
|
|
|
Route::get('checkout/3ds_redirect/{company_key}/{company_gateway_id}/{hash}', 'Gateways\Checkout3dsController@index')->middleware('domain_db')->name('checkout.3ds_redirect');
|
|
|
|
Route::get('mollie/3ds_redirect/{company_key}/{company_gateway_id}/{hash}', 'Gateways\Mollie3dsController@index')->middleware('domain_db')->name('mollie.3ds_redirect');
|
|
|
|
Route::get('gocardless/ibp_redirect/{company_key}/{company_gateway_id}/{hash}', 'Gateways\GoCardlessController@ibpRedirect')->middleware('domain_db')->name('gocardless.ibp_redirect');
|
2022-06-21 11:57:17 +02:00
|
|
|
Route::get('.well-known/apple-developer-merchantid-domain-association', 'ClientPortal\ApplePayDomainController@showAppleMerchantId');
|