SummitPublicSchools / calpads

An unofficial Python Web API wrapper for California Department of Education CALPADS.
MIT License
7 stars 6 forks source link

OAuth Dance #1

Closed yusuphisms closed 4 years ago

yusuphisms commented 4 years ago

I'm not too familiar with ways to handle this given the limitations (no client secret for example).

However, the issue is some resources redirect to authorization dance again. (i.e. to repeat login). But it's not always obvious when this would happen so we need a robust-ish solution.

I'm currently going to attempt using requests.Session response Event Hooks.

yusuphisms commented 4 years ago

Addressed in 7c62d4f