Add Nextcloud OAuth 2.0 login via laravel/socialite
Deploy / deploy (push) Successful in 28s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Malek TellissiandClaude Sonnet 4.6 committed 2026-09-13 01:40:46 +02:00
1 parent d87383672c
commit fc4579c47d
8 files changed
+673 -3

No files matched your search

+4
View File
@@ -1,7 +1,11 @@
<?php
use App\Http\Controllers\OAuthController;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return redirect('/dashboard', 301);
});
Route::get('/oauth/redirect', [OAuthController::class, 'redirect'])->name('auth.nextcloud');
Route::get('/oauth/callback', [OAuthController::class, 'callback'])->name('auth.nextcloud.callback');