<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>I added my custom api URL in the form <a href="http://map.example.com:123/api/0.6" target="_blank">http://map.example.com:123/api/0.6</a>
            along with/instead of OSM data api URL... then "Clear and
            download current view" and indeed I get "Download failed
            with error code 404, message Not found"...</div>
          <div><br>
          </div>
          <div>1. Is this what you mean by the "inability to use OAuth
            with custom API sources"?</div>
        </div>
      </div>
    </blockquote>
    No, downloads are currently not authenticated and should work in any
    case (you may be missing a trailing "/" in the url).<br></div></blockquote><div><br></div><div>You were correct. Once I added the trailing "/" I got no more complaints from the server and Vispucci seems to download something. However I still seem to get OSM data and not from my own instance. I know, because I added certain point on the OSM site **after** deploying my own website. I don't see that point in my instance via web interface (as I didn't synchronized it with the OSM). However I still do see this point in Vispucci. So I suspect that either (a) I didn't switch completeley from the original OSM data API (which is strange, because I did get an error and fixed it) or (b) there some sort of caching of the data and that's why I still see that point that should not be present in my instance... If so - how should I flush the data cache?<br></div><div><br></div><div>Thank you again!<br></div><div><br></div><div dir="ltr"> <div><br>
          </div>
          <div><br>
          </div>
        </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><blockquote type="cite"><div dir="ltr">
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Thu, Jul 8, 2021 at 1:09
            PM Simon Poole <<a href="mailto:simon@poole.ch" target="_blank">simon@poole.ch</a>> wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div>
              <p>For Vespucci see <a href="http://vespucci.io/help/en/Main%20map%20display/#layer-control" target="_blank">http://vespucci.io/help/en/Main%20map%20display/#layer-control</a>
                <br>
              </p>
              <p>OAuth support for custom API sources will fail because
                there is currently no way to add client keys without
                rebuilding (is however in the pipeline), but basic auth
                should work just fine.<br>
              </p>
              <div>Am 08.07.2021 um 11:32 schrieb Sim Tov:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div class="gmail_quote">
                    <div>Thank you very much Tom for the quick and
                      detailed response! Due to your advice I was able
                      to make my instance save edits. I'm new to OSM and
                      just learning all the components, so your
                      assistance is invaluable! <br>
                    </div>
                    <div><br>
                    </div>
                    <div>Now I want to be able to connect to my instance
                      with an Android app in order to make edits. I took
                      a look on the StreetComplete, and saw that it is
                      by default is connected to the OSM website...</div>
                    <div><br>
                    </div>
                    <div>1. Is there a way to connect StreetComplete ty
                      my instance for editing purposes?</div>
                    <div>2. Are there other apps that can do it? What
                      about Vespucci?</div>
                    <div><br>
                    </div>
                    <div>Thank you again!</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> > However I
                      got an error response (see attachments):<br>
                      > <br>
                      > Routing Error<br>
                      > No route matches [GET] "/land.html"<br>
                      > <br>
                      > Rails.root: /app<br>
                      > <br>
                      > <br>
                      > So my second question is:<br>
                      > <br>
                      > 2. Why do I get error and how can I fix it?<br>
                      <br>
                      Don't worry about it - once you fix the previous
                      issue this<br>
                      one should go away I think.<br>
                      <br>
                      > <br>
                      > 3. Is there a way in the web site settings to
                      show my map only to logged <br>
                      > in users and not to everybody?<br>
                      <br>
                      No.<br>
                      <br>
                      Tom<br>
                      <br>
                      -- <br>
                      Tom Hughes (<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>)<br>
                      <a href="http://compton.nu/" rel="noreferrer" target="_blank">http://compton.nu/</a><br>
                    </blockquote>
                  </div>
                </div>
                <br>
                <fieldset></fieldset>
                <pre>_______________________________________________
rails-dev mailing list
<a href="mailto:rails-dev@openstreetmap.org" target="_blank">rails-dev@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/rails-dev" target="_blank">https://lists.openstreetmap.org/listinfo/rails-dev</a>
</pre>
              </blockquote>
            </div>
            _______________________________________________<br>
            rails-dev mailing list<br>
            <a href="mailto:rails-dev@openstreetmap.org" target="_blank">rails-dev@openstreetmap.org</a><br>
            <a href="https://lists.openstreetmap.org/listinfo/rails-dev" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/rails-dev</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </div>

</blockquote></div></div>