Skip to content

Commit db031f6

Browse files
authored
Merge pull request #1243 from Altinity/fix/antalya-25.8.12/fix-build-oauth
Antalya 25.8: Fix build after oauth
2 parents 58b404d + bec1f94 commit db031f6

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/Access/TokenProcessors.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,6 @@ class OpenIdTokenProcessor : public ITokenProcessor
213213

214214
bool resolveAndValidate(TokenCredentials & credentials) const override;
215215
private:
216-
const String expected_issuer;
217-
const String expected_audience;
218-
const bool allow_no_expiration;
219216
Poco::URI userinfo_endpoint;
220217
Poco::URI token_introspection_endpoint;
221218

src/Access/TokenProcessorsOpaque.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ OpenIdTokenProcessor::OpenIdTokenProcessor(const String & processor_name_,
265265
const String & jwks_uri_,
266266
UInt64 jwks_cache_lifetime_)
267267
: ITokenProcessor(processor_name_, token_cache_lifetime_, username_claim_, groups_claim_),
268-
expected_issuer(expected_issuer_), expected_audience(expected_audience_),
269-
allow_no_expiration(allow_no_expiration_),
270268
userinfo_endpoint(userinfo_endpoint_), token_introspection_endpoint(token_introspection_endpoint_)
271269
{
272270
if (!jwks_uri_.empty())
@@ -296,9 +294,7 @@ OpenIdTokenProcessor::OpenIdTokenProcessor(const String & processor_name_,
296294
const String & openid_config_endpoint_,
297295
UInt64 verifier_leeway_,
298296
UInt64 jwks_cache_lifetime_)
299-
: ITokenProcessor(processor_name_, token_cache_lifetime_, username_claim_, groups_claim_),
300-
expected_issuer(expected_issuer_), expected_audience(expected_audience_),
301-
allow_no_expiration(allow_no_expiration_)
297+
: ITokenProcessor(processor_name_, token_cache_lifetime_, username_claim_, groups_claim_)
302298
{
303299
const picojson::object openid_config = getObjectFromURI(Poco::URI(openid_config_endpoint_));
304300

0 commit comments

Comments
 (0)