usso 0.13.0__tar.gz → 0.14.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: usso
3
- Version: 0.13.0
3
+ Version: 0.14.0
4
4
  Summary: A plug-and-play client for integrating universal single sign-on (SSO) with Python frameworks, enabling secure and seamless authentication across microservices.
5
5
  Author-email: Mahdi Kiani <mahdikiany@gmail.com>
6
6
  Maintainer-email: Mahdi Kiani <mahdikiany@gmail.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "usso"
7
- version = "0.13.0"
7
+ version = "0.14.0"
8
8
  description = "A plug-and-play client for integrating universal single sign-on (SSO) with Python frameworks, enabling secure and seamless authentication across microservices."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -19,7 +19,7 @@ async def jwt_access_security(request: Request) -> UserData | None:
19
19
  token = credentials
20
20
  return user_data_from_token(token, **kwargs)
21
21
 
22
- cookie_token = request.cookies.get("access_token")
22
+ cookie_token = request.cookies.get("usso_access_token")
23
23
  if cookie_token:
24
24
  return user_data_from_token(cookie_token, **kwargs)
25
25
 
@@ -41,7 +41,7 @@ async def jwt_access_security_ws(websocket: WebSocket) -> UserData | None:
41
41
  token = credentials
42
42
  return user_data_from_token(token, **kwargs)
43
43
 
44
- cookie_token = websocket.cookies.get("access_token")
44
+ cookie_token = websocket.cookies.get("usso_access_token")
45
45
  if cookie_token:
46
46
  return user_data_from_token(cookie_token, **kwargs)
47
47
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: usso
3
- Version: 0.13.0
3
+ Version: 0.14.0
4
4
  Summary: A plug-and-play client for integrating universal single sign-on (SSO) with Python frameworks, enabling secure and seamless authentication across microservices.
5
5
  Author-email: Mahdi Kiani <mahdikiany@gmail.com>
6
6
  Maintainer-email: Mahdi Kiani <mahdikiany@gmail.com>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes