nickspeal / musicThisWeek

A Web Service that generates a Spotify playlist of bands that are playing in your area in the near future
3 stars 2 forks source link

If user spotify oauth has timed out, app crashes #42

Open esmason opened 8 years ago

esmason commented 8 years ago

should prompt the user to re-authenticate when time out occurs

nickspeal commented 8 years ago

Can you please include more info about this? What's the traceback error when this happens? How can I reproduce it? Is this n-days after signing in? If so how many? Or is this some sort of timeout from taking too long to sign in?

esmason commented 8 years ago

it may be max time or max requests let me try to make it happen again, has happened to me a handful of times

esmason commented 8 years ago

screen shot 2016-09-10 at 8 00 23 pm

esmason commented 8 years ago

screen shot 2016-09-10 at 8 07 13 pm

esmason commented 8 years ago

left it on /setup for about an hour then clicked search

esmason commented 8 years ago

would an appropriate handling of this exception to be to redirect to the login page?

nickspeal commented 8 years ago

Hmm interesting. Yeah I think the API actually exposes functionality to refresh the token in the background. I haven't looked at it in a while but this is a good place to start.

Agreed this is low priority.