feat: 🛂 integrate Authentik authentication with Coolify

- Configured Authentik as the OAuth provider in Coolify.
This commit is contained in:
Danilo Martinelli committed 2024-10-13 10:28:24 -03:00
1 parent d54fa6a680
commit 96ef0ef749
10 files changed
+112

No files matched your search

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('oauth_settings', function (Blueprint $table) {
Schema::table('oauth_settings', function (Blueprint $table) {
$table->string('base_url')->nullable();
});
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('oauth_settings', function (Blueprint $table) {
Schema::table('oauth_settings', function (Blueprint $table) {
$table->dropColumn('base_url');
});
});
}
};
+4
View File
@@ -32,5 +32,9 @@ class OauthSettingSeeder extends Seeder
'id' => 4,
'provider' => 'google',
]);
OauthSetting::firstOrCreate([
'id' => 5,
'provider' => 'authentik',
]);
}
}