title: IdentityServer4 in Docker images running on Linux & Azure repositories & authentication issue
body: <p>My solution consists of three projects, which are:</p>
  
  <ol>
  <li>An ASP.NET MVC Core project that hosts the IdentityServer.</li>
  <li>An ASP.NET Core API project which is protected and manages the IdentityServer.</li>
  <li>Another ASP.NET MVC Core that calls the API. </li>
  </ol>
  
  <p>So, the MVC client must sent on each request also an <code>access_token</code> to the API. 
  If I run the solution with docker-compose command it works, but if I push/pull the images to/from the Azure repositories, I have the issue.</p>
  
  <p>The error that I get is: <code>ErrorMessage: Bearer error="invalid_token", error_description="The signature key was not found"</code></p>
  
  <p>This is my configuation</p>
  
  <pre><code>services.AddIdentityServer()
      .AddDeveloperSigningCredential()
      .AddAspNetIdentity&lt;ApplicationUser&gt;()
      .AddConfigurationStore(options =&gt;
      {
          options.ConfigureDbContext = builder =&gt;
              builder.UseNpgsql(connectionString,
                  sql =&gt; sql.MigrationsAssembly(migrationsAssembly));
      })
      .AddOperationalStore(options =&gt;
      {
          options.ConfigureDbContext = builder =&gt;
              builder.UseNpgsql(connectionString,
                  sql =&gt; sql.MigrationsAssembly(migrationsAssembly));
          options.EnableTokenCleanup = true;
          options.TokenCleanupInterval = 30;
      });
  
  services.AddAuthentication(IdentityServerConstants.DefaultCookieAuthenticationScheme)
      .AddIdentityServerAuthentication(options =&gt;
      {
          options.Authority = EnvironmentReader.AuthorityUrl;
          options.ApiName = "api1";
          options.RequireHttpsMetadata = false;
      });
  </code></pre>