Skip to content

Commit

Permalink
Decrease line sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
ronvanderheijden committed Apr 25, 2024
1 parent d7c640d commit a7a6eee
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/Laravel/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@

declare(strict_types=1);

use Illuminate\Support\Facades\Route;
use OpenIDConnect\Laravel\DiscoveryController;
use OpenIDConnect\Laravel\JwksController;

if (config('openid.routes.discovery', true)) {
Route::get('/oauth/jwks', \OpenIDConnect\Laravel\JwksController::class)->name('openid.jwks');
Route::get('/oauth/jwks', JwksController::class)
->name('openid.jwks');
}

if (config('openid.routes.jwks', true)) {
Route::get('/.well-known/openid-configuration', \OpenIDConnect\Laravel\DiscoveryController::class)->name('openid.discovery');
Route::get('/.well-known/openid-configuration', DiscoveryController::class)
->name('openid.discovery');
}

0 comments on commit a7a6eee

Please sign in to comment.