master
rob 2 years ago
parent 42283c2005
commit d186fa4ed3

@ -80,7 +80,7 @@ class OAuth2Service extends SiteService {
); );
app.post( app.post(
'/token', '/oauth2/token',
passport.authenticate(['basic', 'oauth2-client-password'], { session: false }), passport.authenticate(['basic', 'oauth2-client-password'], { session: false }),
this.server.token(), this.server.token(),
this.server.errorHandler(), this.server.errorHandler(),

Loading…
Cancel
Save