adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

Check validity of `oauth_token` during `bootstrap_bumblebee()` #48

Closed vsudilov closed 9 years ago

vsudilov commented 9 years ago

Currently db.session.query(Token).first() is performed for users that come with a clientid in their session. If this token is expired, the only way the user can access api functionality is to remove their session to get a new, valid token.