Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing WORKOS_API_KEY registration #7

Merged
merged 4 commits into from
Mar 17, 2025
Merged

Fix missing WORKOS_API_KEY registration #7

merged 4 commits into from
Mar 17, 2025

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Mar 17, 2025

fixes laravel/framework#55028

without direct registration from config workos-php would rely from getenv('WORKOS_API_KEY') and this is not available when application uses cached config

@iBotPeaches
Copy link

Folks then upgrading without cached configs are forced into an exception until they add this new param now. I guess in a bit of a pickle.

Could do it as AWS does and only pass along the config if the service config key is non-null. So folks that inject the env/don't cache configs still work.

@taylorotwell taylorotwell merged commit 03d8a35 into main Mar 17, 2025
8 checks passed
@taylorotwell taylorotwell deleted the patch-1 branch March 17, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WorkOS not working with cached config
3 participants