mirror of
https://git.unistra.fr/aius/root/ldap-overleaf-sl.git
synced 2025-05-04 19:55:26 +02:00
10 lines
462 B
Diff
10 lines
462 B
Diff
259a260,268
|
|
> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
> if (process.env.OAUTH2_ENABLED === 'true') {
|
|
> webRouter.get('/oauth/redirect', AuthenticationController.oauth2Redirect)
|
|
> webRouter.get('/oauth/callback', AuthenticationController.oauth2Callback)
|
|
> AuthenticationController.addEndpointToLoginWhitelist('/oauth/redirect')
|
|
> AuthenticationController.addEndpointToLoginWhitelist('/oauth/callback')
|
|
> }
|
|
> // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
|
>
|