This is a simple fork that adds OpenID Connect support directly into the overleaf toolkit image.
Usage is the same. Below I'll just detail how to configure OpenID Connect for your instance. More detailed information is present in my Overleaf fork.
Clone this repository locally:
git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkitThen follow the Quick Start Guide.
Everything is done through environment variables. Append them to then end of your config/variables.env after running bin/init.
This fork adds support for OpenID Connect based login. All you need to do is add the foolowing to your environemnt variables:
OPENID_ENABLED=true
OPENID_ISSUER=your-issuer
OPENID_AUTHORIZATION_URL=your-auth-url
OPENID_TOKEN_URL=your-token-url
OPENID_USERINFO_URL=your-userinfo-url
OPENID_CLIENT_ID=your-client-id
OPENID_CLIENT_SECRET=your-client-secret
You can also change the default text for the login methods setting the following:
OPENID_LOGIN_TEXT=OIDC Login
OVERlEAF_LOGIN_TEXT=Default Login
Check out my Overleaf fork for more details on this.
- Get rid of "
patches" and directly use the fork as a submodule. - Better user instructions.
- Better error handling (specially when it comes to environment variables configuration).
- Add default