overleaf-sso/ldap-overleaf-sl/sharelatex/router-append.js

7 lines
349 B
JavaScript
Raw Normal View History

2022-06-10 13:20:16 +00:00
webRouter.get('/oauth/redirect', AuthenticationController.oauth2Redirect)
webRouter.get('/oauth/callback', AuthenticationController.oauth2Callback)
AuthenticationController.addEndpointToLoginWhitelist('/oauth/redirect')
AuthenticationController.addEndpointToLoginWhitelist('/oauth/callback')
2022-06-10 14:05:35 +00:00
webRouter.get('*', ErrorController.notFound)
2022-06-10 13:20:16 +00:00
}