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

6 lines
302 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')
}