This commit is contained in:
Girish Ramakrishnan
2018-06-15 17:04:18 -07:00
parent 05a8911cca
commit 858ffcec72
+1 -1
View File
@@ -511,7 +511,7 @@ function authorization() {
function token() {
return [
passport.authenticate(['basic', 'oauth2-client-password'], { session: false }),
gServer.token(),
gServer.token(), // will call the token grant callback registered in initialize()
gServer.errorHandler()
];
}