Files
2025-11-30 11:57:22 +01:00

11 lines
468 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use Paymenter\Extensions\Others\Authentik\Http\Controllers\AuthentikController;
// Routes pour l'authentification Authentik
Route::group(['middleware' => ['web', 'guest']], function () {
Route::get('/oauth/authentik', [AuthentikController::class, 'redirect'])->name('oauth.authentik.redirect');
Route::get('/oauth/authentik/callback', [AuthentikController::class, 'handle'])->name('oauth.authentik.callback');
});