Skip to content

mvrp21/toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overleaf Toolkit - OpenID Connect

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.

Getting Started

Clone this repository locally:

git clone https://github.com/overleaf/toolkit.git ./overleaf-toolkit

Then follow the Quick Start Guide.

Configuring OpenID Connect

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.

TODO

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 22