0

안녕하세요! 포럼에서이 질문을 보았지만 대답이 없었습니다. 그래서 다시 물어보기로했습니다.비밀번호 재설정 오류 AWS를 통해 서버 구문 분석 Amazon

AWS Amazon (EC2)에서 구문 분석 서버를 사용하고 있습니다. 응용 프로그램

그래서 나는 사용자의 암호를 재설정하려고 스위프트 3에 :

PFUser.requestPasswordResetForEmail(inBackground: emailTextField.text!) { (success: Bool, error: Error?) in 
     if success { 
      let alert = UIAlertController(title: "Success", message: "Please check your email and follow the instructions", preferredStyle: UIAlertControllerStyle.alert) 
      let ok = UIAlertAction(title: "Ok", style: UIAlertActionStyle.default, handler: { (UIAlertAction) in 
       self.dismiss(animated: true, completion: nil) 
      }) 
      alert.addAction(ok) 

      self.present(alert, animated: true, completion: nil) 
     } 
     else { 
      print(error?.localizedDescription) 
     } 
    } 

하지만 '비밀번호 재설정'버튼을 누를 때 나는이 오류가 발생합니다 :

An appName, publicServerURL, and emailAdapter are required for password reset functionality. 

AWS 부분의 문제라고 생각하지만 찾을 수 없습니다. 중요한 프로젝트입니다. 제발 도와주세요!

감사합니다!

+0

AWS API를 전혀 사용하지 않은 경우 AWS 문제가 무엇이라고 생각하십니까? 이 오류에서 Parse Server 암호 재설정 API에 대해 필수 매개 변수를 제공하지 않았 음을 알 수 있습니다. – mootmoot

+0

원인 내 앱을 AWS에 연결 한 결과, MailGun의 동일한 문제에 대해 이야기하는 사람들이 보았습니다. – parsjs

+0

다음 문서 나 AWS와 응용 프로그램 또는 기술적 인 기술에 대해 정확히 무엇을했는지 알려주세요. 우리는 마술을 할 수 없습니다. ! – Sam

답변

0

저는 Bitnami AWS의 구문 분석 서버를 사용하고 있습니다. SSH Java 클라이언트를 통해 Xcode에 연결했습니다. 내 AppDelegate.swift에이 코드가 있습니다.

let parseConfiguration = ParseClientConfiguration(block: { (ParseMutableClientConfiguration) -> Void in 
      ParseMutableClientConfiguration.applicationId = "XXX" 
      ParseMutableClientConfiguration.clientKey = "XXX" 
      ParseMutableClientConfiguration.server = "URL" 
     })