We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
WORKOS_API_KEY
1 parent d5d64f0 commit 03d8a35Copy full SHA for 03d8a35
src/WorkOS.php
@@ -22,11 +22,16 @@ public static function configure(): void
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