mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
auth47 bootstrapping
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Laravel\Socialite\Facades\Socialite;
|
||||
|
||||
@@ -7,6 +8,17 @@ Route::middleware([])
|
||||
->get('/', \App\Http\Livewire\Frontend\Welcome::class)
|
||||
->name('welcome');
|
||||
|
||||
Route::get('auth/auth47', \App\Http\Livewire\Auth\Auth47Component::class)
|
||||
->name('auth.auth47');
|
||||
|
||||
Route::post('auth/auth47-callback', function (Request $request) {
|
||||
$auth47Version = $request->auth47_response;
|
||||
$challenge = $request->challenge;
|
||||
$signature = $request->signature;
|
||||
$nym = $request->nym;
|
||||
})
|
||||
->name('auth.auth47.callback');
|
||||
|
||||
Route::middleware([])
|
||||
->get('/news', \App\Http\Livewire\News\ArticleOverview::class)
|
||||
->name('article.overview');
|
||||
|
||||
Reference in New Issue
Block a user