Update keycloak version
[nonrtric.git] / service-exposure / templates / AuthorizationPolicy-template.txt
index 0899475..79c90e0 100644 (file)
@@ -1,6 +1,6 @@
 #
 # ============LICENSE_START=======================================================
-#  Copyright (C) 2022 Nordix Foundation.
+#  Copyright (C) 2022-2023 Nordix Foundation.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ spec:
   rules:
   - from:
     - source:
-        requestPrincipals: ["http://istio-ingressgateway.istio-system:80/auth/realms/{{.Realm}}/"]
+        requestPrincipals: ["http://istio-ingressgateway.istio-system:80/auth/realms/{{.Realm}}/", "https://keycloak:8443/realms/{{.Realm}}"]
   - to:
     - operation:
         methods: ["{{.Method}}"]