<p>My Kiali installation returns 520 when logging in.</p>

<p>In my console is being printed:</p>

<pre><code>W1105 08:23:28.238619       1 kiali.go:145] Kiali is missing a secret that contains both 'username' and 'passphrase'
E1105 08:23:34.142346       1 authentication.go:108] Credentials are missing. Create a secret. Please refer to the documentation for more details.
</code></pre>

<p>This is strange, because running</p>

<pre><code>kubectl describe secret kiali -n istio-system
</code></pre>

<p>provides me with the following output:</p>

<pre><code>Name:         kiali
Namespace:    istio-system
Labels:       app=kiali
              flux.weave.works/sync-gc-mark=sha256.ZNNGIdiNNcRZl-YCuc551EB3Edthk6kuz-PlDVn6U9k
Annotations:  flux.weave.works/sync-checksum: ae50afa268598e23696d4e980b1686829b3589e4

Type:  Opaque

Data
====
passphrase:  5 bytes
username:    6 bytes
</code></pre>

<p>restarting the pod does not solve the issue.</p>

<p><strong>Versions used</strong>
Kiali: Version: v0.18.1, Commit: ef27faa</p>

<p>Istio: 1.1.2</p>

<p>Kubernetes flavour and version: Azure AKS</p>

<p>To Reproduce
Deploy Istio to your AKS cluster using the following resource:
<a href="https://github.com/timfpark/fabrikate-cloud-native" rel="nofollow noreferrer">https://github.com/timfpark/fabrikate-cloud-native</a></p>

<p><strong>Edit:</strong></p>

<p>It turns out updating to 1.1.5 is all that was necessary. 
Also the repo I was using isn't the official version. That can be found here:
<a href="https://github.com/microsoft/fabrikate-definitions/tree/master/definitions/fabrikate-cloud-native" rel="nofollow noreferrer">https://github.com/microsoft/fabrikate-definitions/tree/master/definitions/fabrikate-cloud-native</a></p>

<p>I had this issue, upgrade to istio 1.1.5 or higher. you can use my <a href="https://dev.azure.com/4c74356b41/_git/fabrikate" rel="nofollow noreferrer">example repo</a> with istio 1.2.0. that would fix it as well.</p>

<p><a href="https://github.com/rootsongjc/cloud-native-sandbox/issues/2" rel="nofollow noreferrer">https://github.com/rootsongjc/cloud-native-sandbox/issues/2</a></p>
