File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
docs/en/operations/external-authenticators Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,4 @@ The following external authenticators and directories are supported:
1919- Kerberos [ Authenticator] ( /operations/external-authenticators/kerberos#kerberos-as-an-external-authenticator-for-existing-users )
2020- [ SSL X.509 authentication] ( /operations/external-authenticators/ssl-x509 )
2121- HTTP [ Authenticator] ( ./http.md )
22- - JWT [ Authenticator] ( ./jwt.md )
23- - Access Token [ Authenticator] ( ./tokens.md )
22+ - Token-based [ Authenticator] ( ./tokens.md )
Original file line number Diff line number Diff line change @@ -213,7 +213,9 @@ All this implies that the SQL-driven [Access Control and Account Management](/do
213213 <common_roles >
214214 <token_test_role_1 />
215215 </common_roles >
216- <roles_filter ></roles_filter >
216+ <roles_filter >
217+ \bclickhouse-[a-zA-Z0-9]+\b
218+ </roles_filter >
217219 </token >
218220 </user_directories >
219221</clickhouse >
Original file line number Diff line number Diff line change @@ -649,7 +649,7 @@ bool ExternalAuthenticators::checkTokenCredentials(const TokenCredentials & cred
649649 std::lock_guard lock{mutex};
650650
651651 if (token_processors.empty ())
652- throw Exception (ErrorCodes::BAD_ARGUMENTS, " Access token authentication is not configured" );
652+ throw Exception (ErrorCodes::BAD_ARGUMENTS, " Token authentication is not configured" );
653653
654654 // / lookup token in local cache if not expired.
655655 auto cached_entry_iter = access_token_to_username_cache.find (credentials.getToken ());
You can’t perform that action at this time.
0 commit comments