Skip to content

Commit

Permalink
Remove urlencoded body parser
Browse files Browse the repository at this point in the history
  • Loading branch information
GB27247 committed May 20, 2024
1 parent ced98b4 commit 19aa766
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/src/connectors/authentication/oauth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import parser from 'body-parser'
import MongoStore from 'connect-mongo'
import { NextFunction, Request, Response, Router } from 'express'
import session from 'express-session'
Expand Down Expand Up @@ -34,7 +33,6 @@ export class OauthAuthenticationConnector extends BaseAuthenticationConnector {
mongoUrl: getConnectionURI(),
}),
}),
parser.urlencoded({ extended: true }),
grant.default.express(config.oauth.grant),
this.getRoutes(),
],
Expand Down

0 comments on commit 19aa766

Please sign in to comment.