tanmaymittal / cruzcal

All your classes. One calendar file
http://cruzcal.com/
MIT License
2 stars 1 forks source link

Pablo/redirect google #145

Closed pablofgaeta closed 2 years ago

pablofgaeta commented 2 years ago

Scenario tested manually

User is brand new to site User submits with google Led to auth page Doesn’t click calendar scope Redirected back to website (server doesn’t crash and sends 500 error) User tries again Prompted with auth flow again, only requests calendar scope so they may only cancel or continue

User token expires (e.g. reboot server or time lapses) Submission goes to auth redirect (/api/loading/gcal) and will automatically sign in and redirect to google cal events