Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving vector tile generates an invalid redirect_url #2

Open
AlejandroPeq opened this issue Oct 5, 2017 · 0 comments
Open

Saving vector tile generates an invalid redirect_url #2

AlejandroPeq opened this issue Oct 5, 2017 · 0 comments

Comments

@AlejandroPeq
Copy link

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

@AlejandroPeq AlejandroPeq changed the title Shaving vector tile generates an invalid redirect_url Saving vector tile generates an invalid redirect_url Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant