keystone/keystone/token
Lance Bragstad 68bfb685d1 Only log warnings about token length when length exceeds max_token_size
Previously, the fernet token provider would log warnings when a fernet
token exceeded 255 characters, which is common for LDAP-backed
deployments. The warning is always issued, even when operators configure
keystone's max_token_size to a higher value, causing confusion because
it appears the configuration value is silently ignored.

This commit fixes that issue by using the max_token_size configuration
parameter consistently in the fernet token provider.

Closes-Bug: 1926483

Change-Id: I4bb54aac9b950d59082a4468203a3249790839d7
2021-05-03 20:40:31 +00:00
..
providers Fix "allow expired" feature for JWT 2020-07-08 17:30:36 +05:30
__init__.py Remove the sql token driver and uuid token provider 2018-02-12 17:32:47 +00:00
provider.py Remove six usage 2020-01-30 06:06:51 +00:00
token_formatters.py Only log warnings about token length when length exceeds max_token_size 2021-05-03 20:40:31 +00:00