Use passport.authenticate() , specifying the 'oauth2' strategy, to authenticate requests. For example, as route middleware in an Express application:
確定! 回上一頁