title: djangosaml2idp problems with launch: saml2.sigver.MissingKey: http://localhost:8000/saml2/metadata/
body: <p>I'v been trying to launch project(example_setup folder):</p>
  <p><a href="https://github.com/OTA-Insight/djangosaml2idp/tree/master/example_setup" rel="nofollow noreferrer">https://github.com/OTA-Insight/djangosaml2idp/tree/master/example_setup</a></p>
  <p>I can anybody answer to men according with documentation. But it does not working. First problem, as I undesrtand is in date of methadata in <code>SP(idp_metadata.xml)- validUntil=&quot;2020-12-27T12:41:18Z&quot;&gt;</code> . It does not valid at the moment, and was changed to future date, as example<code>(validUntil=&quot;2030-12-27T12:41:18Z&quot;)</code>. But next I got another problem when trying to sign in to <code>SP(localhost:8000)</code> in my browser, I have more problem:</p>
  <pre><code>Error during SAML2 authentication
  IncorrectlySigned
  </code></pre>
  <p>In attempts to find problem, I found the place where it is occured. In original it iis in tryexcept block, and can't be found easy.</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/djangosaml2idp/views.py&quot;, line 251, in get
      req_info = idp_server.parse_authn_request(request.session['SAMLRequest'], binding)
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/server.py&quot;, line 238, in parse_authn_request
      return self._parse_request(enc_request, AuthnRequest,
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/entity.py&quot;, line 1036, in _parse_request
      _request = _request.loads(xmlstr, binding, origdoc=enc_request,
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/request.py&quot;, line 110, in loads
      return self._loads(xmldata, binding, origdoc, must,
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/request.py&quot;, line 51, in _loads
      print(self.signature_check(xmldata, origdoc=origdoc,
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/sigver.py&quot;, line 1662, in correctly_signed_authn_request
      return self.correctly_signed_message(decoded_xml, 'authn_request', must, origdoc, only_valid_cert=only_valid_cert)
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/sigver.py&quot;, line 1653, in correctly_signed_message
      return self._check_signature(
    File &quot;/home/dmitriy/projects/djangosaml2idp/example_setup/idp/venv/lib/python3.8/site-packages/saml2/sigver.py&quot;, line 1503, in _check_signature
      raise MissingKey(_issuer)
  saml2.sigver.MissingKey: http://localhost:8000/saml2/metadata/
  Internal Server Error: /idp/login/process/
  
  </code></pre>
  <p>Some key is missing:</p>
  <pre><code>Error during SAML2 authentication
  MissingKey
  http://localhost:8000/saml2/metadata/
  </code></pre>
  <p>My idp_metada in the SP is like in the [example_setup][1] folder of project, only validUntil has been changed as I said above, user in IDP has been created as superuser, I also tried to create user in the SP, the same as in the IDP, but nothing changed</p>
  <p>Can anybody anser to me, what my problem is?</p>