redirect()->route('auth.nextcloud')); Route::get('/dashboard/logout', fn () => redirect('/dashboard')); Route::get('/oauth/redirect', [OAuthController::class, 'redirect'])->name('auth.nextcloud'); Route::get('/auth/nextcloud/callback', [OAuthController::class, 'callback'])->name('auth.nextcloud.callback');