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

@@ -91,6 +91,7 @@ services:
# OAUTH2_AUTHORIZATION_URL: YOUR_OAUTH2_AUTHORIZATION_URL
# OAUTH2_TOKEN_URL: YOUR_OAUTH2_TOKEN_URL
# OAUTH2_TOKEN_CONTENT_TYPE: # One of ['application/x-www-form-urlencoded', 'application/json']
# OAUTH2_STATE_LENGTH: Length of the OAuth2 state (default: 6)
# OAUTH2_PROFILE_URL: YOUR_OAUTH2_PROFILE_URL
# OAUTH2_USER_ATTR_EMAIL: email
# OAUTH2_USER_ATTR_UID: id