Skip to content
Snippets Groups Projects
Commit 60917418 authored by Yurii Ruban [EPAM / GCP]'s avatar Yurii Ruban [EPAM / GCP] Committed by Riabokon Stanislav(EPAM)[GCP]
Browse files

Move authorization logic to Istio layer(GONRG-5351)

parent 5ecf30cd
No related branches found
No related tags found
1 merge request!263Move authorization logic to Istio layer(GONRG-5351)
/*
* Copyright 2021 Google LLC
* Copyright 2021 EPAM Systems, Inc
* Copyright 2020-2022 Google LLC
* Copyright 2020-2022 EPAM Systems, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -38,7 +38,6 @@ public class IDTokenVerifierConfiguration {
return new GoogleIdTokenVerifier.Builder(
GoogleNetHttpTransport.newTrustedTransport(),
JacksonFactory.getDefaultInstance())
.setAudience(Collections.singleton(configuration.getGoogleAudiences()))
.build();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment