Make the oauth2 state length configurable (#65)

* Increase state lenght to 8

* feat: make the state length configurable
This commit is contained in:
Simon Ledoux
2024-11-23 09:09:43 +01:00
committed by GitHub
parent f6aea77284
commit 0fd1a2765e
5 changed files with 8 additions and 2 deletions

View File

@@ -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