anabellaspinelli/toad-api

Passport OAuth call flow

Opened this issue · 0 comments

Passport OAuth Call flow

  1. Get to toad/authorize
  2. passport.authenticate()
  3. Get to tf/authorize
  4. (consent...)
  5. Get to toad/redirect
  6. passport.authenticate()
  7. Get to tf/token
  8. verifyCallback() defined in strategy setup
  9. deserialize user?
  10. passport.authenticate callback fires as defined in /redirect route