workos 5.22.0__py3-none-any.whl → 5.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- workos/__about__.py +1 -1
- workos/user_management.py +4 -0
- {workos-5.22.0.dist-info → workos-5.23.0.dist-info}/METADATA +1 -1
- {workos-5.22.0.dist-info → workos-5.23.0.dist-info}/RECORD +7 -7
- {workos-5.22.0.dist-info → workos-5.23.0.dist-info}/LICENSE +0 -0
- {workos-5.22.0.dist-info → workos-5.23.0.dist-info}/WHEEL +0 -0
- {workos-5.22.0.dist-info → workos-5.23.0.dist-info}/top_level.txt +0 -0
workos/__about__.py
CHANGED
workos/user_management.py
CHANGED
|
@@ -358,6 +358,7 @@ class UserManagementModule(Protocol):
|
|
|
358
358
|
login_hint: Optional[str] = None,
|
|
359
359
|
state: Optional[str] = None,
|
|
360
360
|
provider: Optional[UserManagementProviderType] = None,
|
|
361
|
+
provider_scopes: Optional[Sequence[str]] = None,
|
|
361
362
|
connection_id: Optional[str] = None,
|
|
362
363
|
organization_id: Optional[str] = None,
|
|
363
364
|
code_challenge: Optional[str] = None,
|
|
@@ -379,6 +380,7 @@ class UserManagementModule(Protocol):
|
|
|
379
380
|
The value of this parameter should be a WorkOS Organization ID. (Optional)
|
|
380
381
|
provider (UserManagementProviderType): The provider connection selector is used to initiate SSO using an OAuth-compatible provider.
|
|
381
382
|
Currently, the supported values for provider are 'authkit', 'AppleOAuth', 'GitHubOAuth, 'GoogleOAuth', and 'MicrosoftOAuth'. (Optional)
|
|
383
|
+
provider_scopes (Sequence[str]): Can be used to specify additional scopes that will be requested when initiating SSO using an OAuth provider. (Optional)
|
|
382
384
|
domain_hint (str): Can be used to pre-fill the domain field when initiating authentication with Microsoft OAuth,
|
|
383
385
|
or with a GoogleSAML connection type. (Optional)
|
|
384
386
|
login_hint (str): Can be used to pre-fill the username/email address field of the IdP sign-in page for the user,
|
|
@@ -412,6 +414,8 @@ class UserManagementModule(Protocol):
|
|
|
412
414
|
params["organization_id"] = organization_id
|
|
413
415
|
if provider is not None:
|
|
414
416
|
params["provider"] = provider
|
|
417
|
+
if provider_scopes is not None:
|
|
418
|
+
params["provider_scopes"] = ",".join(provider_scopes)
|
|
415
419
|
if domain_hint is not None:
|
|
416
420
|
params["domain_hint"] = domain_hint
|
|
417
421
|
if login_hint is not None:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
workos/__about__.py,sha256
|
|
1
|
+
workos/__about__.py,sha256=gPnfGwbokmJccKOueu0QsNoiFGUYhHwOVX1_mLa4xzw,406
|
|
2
2
|
workos/__init__.py,sha256=hOdbO_MJCvpLx8EbRjQg-fvFAB-glJmrmxUZK8kWG0k,167
|
|
3
3
|
workos/_base_client.py,sha256=t69Nb3zxo3wygI3JtbPdZMGvIuRPsZx_xZANC5K8dn8,3429
|
|
4
4
|
workos/_client_configuration.py,sha256=g3eXhtrEMN6CW0hZ5uHb2PmLurXjyBkWZeQYMPeJD6s,222
|
|
@@ -16,7 +16,7 @@ workos/portal.py,sha256=lzf3fnOor4AyVdHCHMuJzVSpAC9LWWdC5sZIRtCsb0c,2443
|
|
|
16
16
|
workos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
workos/session.py,sha256=CVada-nKRFv9m2-mcghR5VBOguGU76iDCDgQlksOOrQ,11912
|
|
18
18
|
workos/sso.py,sha256=ZBC3y-IRmxG0jPd0BOj7s7XQkXJoTLUg1fx-h3Gfy4g,13541
|
|
19
|
-
workos/user_management.py,sha256=
|
|
19
|
+
workos/user_management.py,sha256=qy21HxYVO40xo7TvCGVxvGWdYIFHZTVnUJTpCQIN2ko,77113
|
|
20
20
|
workos/webhooks.py,sha256=CuwBxh6va9VZFVSXOknveGt6CCGDF3em07a-J12DbXI,4790
|
|
21
21
|
workos/widgets.py,sha256=bfbR0hQOHZabbgGL2ekD5sY1sjiUoWBTdrBd_a6WmBc,1721
|
|
22
22
|
workos/types/__init__.py,sha256=aYScTXq5jOyp0AYvdWffaj5-zdDuNtCCJtbzt5GM19k,267
|
|
@@ -118,8 +118,8 @@ workos/utils/_base_http_client.py,sha256=KqRHUaDJUfXGxhu6UHLfZVkIBikcvrUZYhm9GBS
|
|
|
118
118
|
workos/utils/http_client.py,sha256=TM5yMFFExmAE8D2Z43-5O301tRbnylLG0aXO0isGorE,6197
|
|
119
119
|
workos/utils/pagination_order.py,sha256=_-et1DDJLG0czarTU7op4W6RA0V1f85GNsUgtyRU55Q,70
|
|
120
120
|
workos/utils/request_helper.py,sha256=NaO16qPPbSNnCeE0fiNKYb8gM-dK_okYVJbLGrEGXz8,793
|
|
121
|
-
workos-5.
|
|
122
|
-
workos-5.
|
|
123
|
-
workos-5.
|
|
124
|
-
workos-5.
|
|
125
|
-
workos-5.
|
|
121
|
+
workos-5.23.0.dist-info/LICENSE,sha256=mU--WL1JzelH2tXpKVoOlpud4cpqKSRTtdArCvYZmb4,1063
|
|
122
|
+
workos-5.23.0.dist-info/METADATA,sha256=6axcTXs8vYKZ4CLs32aIC1znvQQGb0If40EnWk30_fk,4187
|
|
123
|
+
workos-5.23.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
124
|
+
workos-5.23.0.dist-info/top_level.txt,sha256=ZFskIfue1Tw-JwjyIXRvdsAl9i0DX9VbqmgICXV84Sk,7
|
|
125
|
+
workos-5.23.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|