auth0 / auth0-PHP

PHP SDK for Auth0 Authentication and Management APIs.
https://auth0.com/docs/libraries/auth0-php
MIT License
380 stars 209 forks source link

[SDK-4665] Support `initiate_login_uri` property being an empty string for PATCH /api/v2/clients/:id requests. #732

Closed evansims closed 10 months ago

evansims commented 11 months ago

Changes

This PR adds support for initiate_login_uri to be supplied as an empty string to the /api/v2/clients/:id endpoint for PATCH requests.

References

Resolves #731

Testing

This PR adds a regression testing for the change.

Contributor Checklist

codecov-commenter commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (9e0c5ed) 100.00% compared to head (5dfaffe) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #732 +/- ## =========================================== Coverage 100.00% 100.00% - Complexity 1327 1330 +3 =========================================== Files 62 62 Lines 4613 4615 +2 =========================================== + Hits 4613 4615 +2 ``` | [Flag](https://app.codecov.io/gh/auth0/auth0-PHP/pull/732/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | Coverage Δ | | |---|---|---| | [unittestsvalidate](https://app.codecov.io/gh/auth0/auth0-PHP/pull/732/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/auth0/auth0-PHP/pull/732?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | Coverage Δ | | |---|---|---| | [src/API/Management/Clients.php](https://app.codecov.io/gh/auth0/auth0-PHP/pull/732?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL0FQSS9NYW5hZ2VtZW50L0NsaWVudHMucGhw) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.