liveservices / LiveSDK-for-iOS

LiveSDK library for integrating with Live Connect
MIT License
138 stars 84 forks source link

LiveSDK Failed to request authorization #56

Open Cheungz opened 9 years ago

Cheungz commented 9 years ago

Dear all, i have suffered in this case just a day ago, and there are no other similar case in the internet. I was able to sign in to Live Services and passed the consent form a day ago. However, i was than failed to sign in through the Auth Dialog 9 hours after the first successful sign in, during the 9 hours, no code changes has been made. The error message i received from XCode are shown below: screen shot 2015-02-04 at 12 13 02 pm Any Idea?

aclev commented 9 years ago

Are you sure you were connected to the network when you tried to login? Was the sign in page displayed? I notice you are using the wl.offline_acess scope. This grants you a refresh token and the LiveConnectClient will auto-refresh the auth token when it needs to, this way you don't have to sign in on every use of the app.