developmentseed / osm-teams

Teams for OpenStreetMap!
https://mapping.team
MIT License
26 stars 5 forks source link

Handle next() call in oauth login #22

Open sethvincent opened 5 years ago

sethvincent commented 5 years ago

We should look into how to handle this: https://github.com/developmentseed/osm-teams/blob/d54c35438d6fa5a9640b56531d1400771f202656/app/oauth/login.js#L12

kamicut commented 5 years ago

Recapping conversation: next() doesn't go anywhere, so it's undefined behavior. We could use this opportunity to create test fixtures to simulate hydra (the token generator) failing and have the app figure out what to do