workos-php
workos-php copied to clipboard
Official PHP SDK for interacting with the WorkOS API
## Steps to Reproduce 1. Install WorkOS PHP SDK v4.26.0 2. Use PHP 8.4 3. Call any WorkOS functionality that triggers the UserManagement class 4. Observe deprecation warnings in logs...
## Description The tests were throwing deprecation notices due to dynamic class properties being set. This PR resolves them by explicitly setting the properties. Example of a notice that was...
## Description Added Organization Feature Flags functionality in Organizations by introducing the getFeatureFlags($organizationId) method. Added tests to validate organization feature flags. Resolved a deprecated notice in the OrganizationsTest to ensure...
Even with a set external_id the getUserByExternalId() sometimes doesn't work when a user is active. With inactive user it works.
The `getProfile` method was not properly implemented and tested, wrote a test scenario for that to ensure that it works properly now. ## Description Fixed an issue because the `json`...
Missing `domain_verification` and `certificate_renewal`. https://github.com/workos/workos-php/blob/fe4f23b82b5e109cf427ce383219d3ec41246fa1/lib/Portal.php#L16
**Bug Description** The screen_hint parameter is not properly handled by the UserManagement::getAuthorizationUrl() method when trying to direct users to sign-up vs sign-in screens in AuthKit. **Expected Behavior** When using screen_hint:...