mirror of
https://github.com/smhaller/ldap-overleaf-sl.git
synced 2025-01-25 06:04:48 +01:00
Make the oauth2 state length configurable (#65)
* Increase state lenght to 8 * feat: make the state length configurable
This commit is contained in:
@@ -158,6 +158,8 @@ OAUTH2_TOKEN_URL: YOUR_OAUTH2_TOKEN_URL
|
||||
# One of ["application/x-www-form-urlencoded", "application/json"]
|
||||
# Default "application/x-www-form-urlencoded"
|
||||
OAUTH2_TOKEN_CONTENT_TYPE: "application/x-www-form-urlencoded"
|
||||
# OAUTH2_STATE_LENGTH: Length of the OAuth2 state
|
||||
OAUTH2_STATE_LENGTH: 6
|
||||
# Fetch user profile api endpoint
|
||||
OAUTH2_PROFILE_URL: YOUR_OAUTH2_PROFILE_URL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user