2015-01-05 2 views
0

Grails와 함께 SocialAuth를 사용하여 Hotmail에 로그인 한 후 사용자의 세부 정보를 가져오고 싶습니다. 처음에는 이와 같이 (account.live.com) 내 응용 프로그램을 등록했습니다. "http://www.localhotsocialtest.com:8080/SocialAuthExample/SocialAuth/getToken"Grails와 Oauth가 Hotmail을 사용하고 있지 않습니다.

하지만 마이크로 소프트에서 오류가 있습니다

Root Domain: www.localhostsocialtest.com (Deployee on localhost) 
Redirect Urls: http://www.localhostsocialtest.com 

컨트롤러에서 리디렉션 URL입니다.

Oops, there was a problem 
The provided value for the input parameter 'redirect_uri' is not valid. The domain of the provided redirect URI must match the domain of the redirect URI registered for this app. 

답변

0

기본 HTTP 포트는 80이지만 8080에서 실행되는 것으로 나타났습니다, 그래서 하나가 http://www.localhostsocialtest.com:8080http://www.localhostsocialtest.com을 변경하거나 포트 80

를 실행해야합니다
관련 문제