add support for `provider_query_params` option on getAuthorizationUrl (#1308)
## Description - moves to using `qs` to create query strings for `getAuthorizationUrl` to more easily support a new object type parameter and stringify it into the format our API expects - we have lots of tests for `getAuthorizationUrl` (sso and user_management) that compare full url strings to snapshots, so the fact that all of these tests still pass (with `qs` options set to maintain backwards compatibility with our previous implementation) makes this feel pretty safe to me, but if anyone disagrees, let me know - adds support for the new `provider_query_params` query parameter / option added in https://github.com/workos/workos/pull/41556 ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes ``` If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
S
Stacy Curry committed
3b2810085bb62c02e6dadf909f8d08f75e46e042
Parent: 06515b7
Committed by GitHub <noreply@github.com>
on 7/16/2025, 5:15:44 PM