Skip to content

Saving vector tile generates an invalid redirect_url #2

@AlejandroPeq

Description

@AlejandroPeq

Hello first of all, I would like to say that this version 2 is great.
I was trying to generate a vector tile downloading mapstyler project and executing it on my web server.

The problem is that when I push on save button , I can see a new smaller browser window that says me invalid redirect_url instead of showing me the arcgis online login.

I supose that the problem is because of the proxy and the cliendid the app is currently using.
I tried to create a new app on my account and register it too to get a new cliendid. Then I used that cliend id and put it on portal.js

Finally as I can see, the proxy url should be pointing to your proxy url and not getting it from my current url, so I decided to force that url giving the following value "http://apps.esriuk.com/app/mapstyler/8/wmt"

captura de pantalla 2017-10-05 a las 19 45 28

Thats what I did with the first mapstyler version , and it worked. However, with this version definitely not.

So I decided to keep your client id and continue using your proxy url instead of getting it using "document.location.href" on image.js .... forgotting the idea of using my own app client id

It happens the same, and the message is talking about wrong authentication. I include the next picture using chrome dev tools analysing the network requests if it helps

captura de pantalla 2017-10-05 a las 19 44 36

Could you please tell me how can I solve this?

Again, great job with this new version, it's much better.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions