File tree Expand file tree Collapse file tree 6 files changed +14
-10
lines changed
recipe/thirdparty/providers Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
99## [ unreleased]
1010
11+ ## [ 0.15.2] - 2023-09-23
12+
13+ - Fixed bugs in thirdparty providers: Bitbucket, Boxy-SAML, and Facebook
14+
1115## [ 0.15.1] - 2023-09-22
1216- Fixes name of passwordless recipe function from ` passwordlessSigninup ` to ` passwordless_signinup `
1317
Original file line number Diff line number Diff line change 7070
7171setup (
7272 name = "supertokens_python" ,
73- version = "0.15.1 " ,
73+ version = "0.15.2 " ,
7474 author = "SuperTokens" ,
7575 license = "Apache 2.0" ,
7676
Original file line number Diff line number Diff line change 1414from __future__ import annotations
1515
1616SUPPORTED_CDI_VERSIONS = ["3.0" ]
17- VERSION = "0.15.1 "
17+ VERSION = "0.15.2 "
1818TELEMETRY = "/telemetry"
1919USER_COUNT = "/users/count"
2020USER_DELETE = "/user/remove"
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ async def get_user_info(
7777
7878 email = None
7979 is_verified = False
80- for email_info in user_info_from_email . values () :
80+ for email_info in user_info_from_email [ " values" ] :
8181 if email_info ["is_primary" ]:
8282 email = email_info ["email" ]
8383 is_verified = email_info ["is_confirmed" ]
Original file line number Diff line number Diff line change @@ -56,13 +56,13 @@ def BoxySAML(input: ProviderInput) -> Provider: # pylint: disable=redefined-bui
5656 if input .config .user_info_map is None :
5757 input .config .user_info_map = UserInfoMap (UserFields (), UserFields ())
5858
59- if input .config .user_info_map .from_id_token_payload is None :
60- input .config .user_info_map .from_id_token_payload = UserFields ()
59+ if input .config .user_info_map .from_user_info_api is None :
60+ input .config .user_info_map .from_user_info_api = UserFields ()
6161
62- if input .config .user_info_map .from_id_token_payload .user_id is None :
63- input .config .user_info_map .from_id_token_payload .user_id = "id"
62+ if input .config .user_info_map .from_user_info_api .user_id is None :
63+ input .config .user_info_map .from_user_info_api .user_id = "id"
6464
65- if input .config .user_info_map .from_id_token_payload .email is None :
66- input .config .user_info_map .from_id_token_payload .email = "email"
65+ if input .config .user_info_map .from_user_info_api .email is None :
66+ input .config .user_info_map .from_user_info_api .email = "email"
6767
6868 return NewProvider (input , BoxySAMLImpl )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async def get_config_for_client_type(
3737 config = await super ().get_config_for_client_type (client_type , user_context )
3838
3939 if config .scope is None :
40- config .scope = ["identify" , " email" ]
40+ config .scope = ["email" ]
4141
4242 return config
4343
You can’t perform that action at this time.
0 commit comments