aboutsummaryrefslogtreecommitdiff
path: root/overleaf-mods/overleaf-ldap-oauth2/ldap-overleaf-sl/sharelatex/router-append.js
blob: 68e1c4981ccbd5c69b07444fcf47782d1a04fb68 (plain)
1
2
3
4
5
6
  webRouter.get('/oauth/redirect', AuthenticationController.oauth2Redirect)
  webRouter.get('/oauth/callback', AuthenticationController.oauth2Callback)
  AuthenticationController.addEndpointToLoginWhitelist('/oauth/redirect')
  AuthenticationController.addEndpointToLoginWhitelist('/oauth/callback')
  webRouter.get('*', ErrorController.notFound)
}