unit-testingoauthoauth-2.0mockups

Are there open test accounts available for common OAuth2 providers?


I am using passport.js as back-end library To handle authentication from OAuth providers like google, Facebook and Twitter.

As I am now writing the tests I would like to avoid creating own accounts just for testing.

So are there something like open credentials for the used providers?

How do yo mockup the accounts in tests?


Solution

  • See http://term.ie/oauth/example with the explanation on this other post