dj-jwt-auth 1.5.0__py3-none-any.whl → 1.5.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dj-jwt-auth
3
- Version: 1.5.0
3
+ Version: 1.5.1
4
4
  Summary: A Django package for JSON Web Token validation and verification. Using PyJWT.
5
5
  Home-page: https://www.example.com/
6
6
  Author: Konstantin Seleznev
@@ -6,14 +6,14 @@ django_jwt/pkce.py,sha256=HYIQI0vKSmQkYIqTj3cciIT01ldkjhqlYiXkYcnNSGc,711
6
6
  django_jwt/roles.py,sha256=SaHK3o8T8USS4ZhG4SrHPlZQV2lMb2t1UZHT6IQtBvA,143
7
7
  django_jwt/settings.py,sha256=gJePa3ER0vY6k5sDk-L1VagjbF4_dYrP0zrRJkGNY6Y,1708
8
8
  django_jwt/urls.py,sha256=PmNoMxcVg_1oCDHHQJFAcPxhPAOkiMhd4PFnS-Q3JLA,326
9
- django_jwt/user.py,sha256=WmrSDIz6c5U9sfX0t-XJN3w1bOmsZH-xSTmK1X9BNRA,5241
9
+ django_jwt/user.py,sha256=DrUpsaGEv7P9Qi7GxcabPKH76mv8rSWpsnvxUMlmjGQ,5241
10
10
  django_jwt/utils.py,sha256=Gz8cH0cD3y_cvW8FwRoCFgShBrYvcB7XBF0GWx0n2qQ,1485
11
11
  django_jwt/views.py,sha256=LweS9G_NBeiuVDLhtm_GtOi_Ok6Sz5KJVTU62k91Jcg,4352
12
12
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  tests/models.py,sha256=K5e0QCgyZeLLHS6i3KRMQHooql47g7qqni7f9tKQrIY,251
14
14
  tests/test.py,sha256=g1Itea87V6hqnK3FGX_nSq0znLRFxPW6WDNTuxYPf3M,8785
15
15
  tests/urls.py,sha256=D5FhDSVAudurkrpkCZZPnDvgXSgifwFVB3nAlYBg7uQ,212
16
- dj_jwt_auth-1.5.0.dist-info/METADATA,sha256=AktxVxd6quOwSseEepUpp7BiiBspNSmEnLwTUVS7nHg,4369
17
- dj_jwt_auth-1.5.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
18
- dj_jwt_auth-1.5.0.dist-info/top_level.txt,sha256=58O7TdK-yECZcbmPc52KNlBFpjIUlENuZubCxaSOxus,17
19
- dj_jwt_auth-1.5.0.dist-info/RECORD,,
16
+ dj_jwt_auth-1.5.1.dist-info/METADATA,sha256=4SsXuxjNUEW3lKT0ekPnpSnEthQ7Qdh14Umb8MKVcLw,4369
17
+ dj_jwt_auth-1.5.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
18
+ dj_jwt_auth-1.5.1.dist-info/top_level.txt,sha256=58O7TdK-yECZcbmPc52KNlBFpjIUlENuZubCxaSOxus,17
19
+ dj_jwt_auth-1.5.1.dist-info/RECORD,,
django_jwt/user.py CHANGED
@@ -43,9 +43,9 @@ class UserHandler:
43
43
  """Collect user data from KeyCloak"""
44
44
 
45
45
  user_data = oidc_handler.get_user_info(self.access_token)
46
+ log.info(f"User data: {self.kwargs}, access_token: {self.access_token}")
46
47
  self.kwargs["email"] = user_data["email"].lower()
47
48
  self.kwargs.update(mapper(user_data))
48
- log.info(f"User data: {self.kwargs}, access_token: {self.access_token}")
49
49
 
50
50
  def _update_user(self, user):
51
51
  """Update user fields if they are changed"""