We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WORKOS_API_KEY
1 parent a1586b4 commit a04f989Copy full SHA for a04f989
src/WorkOS.php
@@ -20,13 +20,18 @@ public static function configure(): void
20
{
21
if (! config('services.workos.client_id')) {
22
throw new RuntimeException("The 'services.workos.client_id' configuration value is undefined.");
23
+ }
24
+
25
+ if (! config('services.workos.secret')) {
26
+ throw new RuntimeException("The 'services.workos.secret' configuration value is undefined.");
27
}
28
29
if (! config('services.workos.redirect_url')) {
30
throw new RuntimeException("The 'services.workos.redirect_url' configuration value is undefined.");
31
32
33
SDK::setClientId(config('services.workos.client_id'));
34
+ SDK::setApiKey(config('services.workos.secret'));
35
36
37
/**
0 commit comments