Browse Source

加密苹果授权登录接口

tanghongbin 5 years ago
parent
commit
426d118bf5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/UserController.py

+ 1 - 1
Controller/UserController.py

@@ -3314,7 +3314,7 @@ class AppleAuthLogin(View):
         app_bundle_id = request_dict.get('app_bundle_id', None)  # 包名
         app_bundle_id = request_dict.get('app_bundle_id', None)  # 包名
 
 
         response = ResponseObject(lang)
         response = ResponseObject(lang)
-
+        identity_token = CommonService.decode_data(identity_token)
         if identity_token:
         if identity_token:
             key_url = 'https://appleid.apple.com/auth/keys'
             key_url = 'https://appleid.apple.com/auth/keys'
             key_response = requests.get(key_url).json()
             key_response = requests.get(key_url).json()