fastapi-sso 0.14.0__py3-none-any.whl → 0.14.2__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.
fastapi_sso/sso/naver.py CHANGED
@@ -23,4 +23,10 @@ class NaverSSO(SSOBase):
23
23
  }
24
24
 
25
25
  async def openid_from_response(self, response: dict, session: Optional["httpx.AsyncClient"] = None) -> OpenID:
26
- return OpenID(display_name=response["properties"]["nickname"], provider=self.provider)
26
+ return OpenID(
27
+ id=response["response"]["id"],
28
+ email=response["response"].get("email"),
29
+ display_name=response["response"].get("nickname"),
30
+ picture=response["response"].get("profile_image"),
31
+ provider=self.provider,
32
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastapi-sso
3
- Version: 0.14.0
3
+ Version: 0.14.2
4
4
  Summary: FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 Account)
5
5
  Home-page: https://tomasvotava.github.io/fastapi-sso/
6
6
  License: MIT
@@ -13,13 +13,13 @@ fastapi_sso/sso/kakao.py,sha256=-St6EEI0r3oFFphFd7UgqppA0z7XtZ22FmBOyhPfJ9M,884
13
13
  fastapi_sso/sso/line.py,sha256=1u27gqq8ZNiNn3XRumyTzNTj67vyTlo_HfVBRj4_crI,1210
14
14
  fastapi_sso/sso/linkedin.py,sha256=huoWB0qz1lToq0arPTwr13ZlapQUzy8EBklqsqF84-E,1272
15
15
  fastapi_sso/sso/microsoft.py,sha256=WX5WQRNt0kYdQO7XeJXS6dE_k-pO1y3Ty4_IuZPc0gI,1938
16
- fastapi_sso/sso/naver.py,sha256=L9rMTESnZrKZb1Z3odxn2oR2hxjrbnPa8rG8LcypbqU,921
16
+ fastapi_sso/sso/naver.py,sha256=W7_gEqql8cHg8drs96Hd8uijklvh77wXa0TSgvAJlr4,1117
17
17
  fastapi_sso/sso/notion.py,sha256=3OU70JpE4mle9DXyZrf4sRpwq1raWcOHjFJrRmsI-EM,1302
18
18
  fastapi_sso/sso/spotify.py,sha256=EyCuUK1fiP-I7NSg1ssDoPJilHnIULyXB4AyJNxPiYg,1269
19
19
  fastapi_sso/sso/twitter.py,sha256=NsRbKZlau_8gZNKgCywlggKv1jZLRP1oDXTp-TId2PU,1227
20
20
  fastapi_sso/sso/yandex.py,sha256=cTfxnK1xKBqGZ1GHd4Y1GtqTJGt1dYV6RAE6kACvX14,1489
21
21
  fastapi_sso/state.py,sha256=bwqsl73I5_VSf-TfCTvDfVb7L_3PwUqtP7jDjco-8Nw,298
22
- fastapi_sso-0.14.0.dist-info/LICENSE.md,sha256=5NVQtYs6liDtYdWM4VObWmTTKaK0k9C9txx5pLPJSyQ,1093
23
- fastapi_sso-0.14.0.dist-info/METADATA,sha256=rhu8DYZyQHwK-A7z9eTYTpW6QILwqIKq7UkCWsUr83M,4635
24
- fastapi_sso-0.14.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
25
- fastapi_sso-0.14.0.dist-info/RECORD,,
22
+ fastapi_sso-0.14.2.dist-info/LICENSE.md,sha256=5NVQtYs6liDtYdWM4VObWmTTKaK0k9C9txx5pLPJSyQ,1093
23
+ fastapi_sso-0.14.2.dist-info/METADATA,sha256=QzTskwHY4cPLk_fbYRQijisgfC8xq5Vh6ghsW_2SXpk,4635
24
+ fastapi_sso-0.14.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
25
+ fastapi_sso-0.14.2.dist-info/RECORD,,