jedcunningham commented on code in PR #48054:
URL: https://github.com/apache/airflow/pull/48054#discussion_r2007815880
##########
airflow-core/src/airflow/api_fastapi/auth/tokens.py:
##########
@@ -277,8 +289,11 @@ def __attrs_post_init__(self):
if self.algorithm == ["GUESS"]:
if self.jwks:
- # TODO: We could probably populate this from the jwks document?
- raise ValueError("Cannot guess the algorithm when using JWKS")
+ # TODO: We could probably populate this from the jwks
document, but we don't have that at
+ # construction time.
+ raise ValueError(
+ "Cannot guess the algorithm when using JWKS - please
specify it in the config"
Review Comment:
```suggestion
"Cannot guess the algorithm when using JWKS - please
specify it in config option `[api_auth] jwt_algorithm`"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]