pwitab / visma

A Python Client library for integration to Visma eAccounting, Visma eEkonomi
http://visma.readthedocs.io
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Broken URL #17

Closed ripxorip closed 3 years ago

ripxorip commented 4 years ago

When I try to run the first step of the visma request_access --client the URL seems to be broken since I reach a VISMA web page complaining about an unsupported request or similar. This is for the sandbox environment.

Krolken commented 4 years ago

Have you received a client ID from the Visma API team? You should be taken to a loginpage if you have a valid client_id.

Krolken commented 4 years ago

actually you seem to be able to register by yourself now:

https://selfservice.developer.vismaonline.com/

ripxorip commented 4 years ago

I have a valid client ID, and I enter that as . I too would have expected to end up at some kind of login page to complete the auth. Therefore, I wonder if the URL is in the package is somehow broken?

Krolken commented 4 years ago

hmm. I tested with my client id and it worked.

Here is the url:

https://identity-sandbox.test.vismaonline.com/connect/authorize?client_id=MYCLIENTID&redirect_uri=https://identity-sandbox.test.vismaonline.com/redirect_receiver&scope=ea:api%20offline_access%20ea:sales%20ea:accounting%20ea:purchase&state=FromPythonCLI&response_type=code&prompt=login

try pasting it in your browser and change MYCLIENTID to your id.

ripxorip commented 4 years ago

Still the same, then I guess that I should probably sign up for another sandbox and try that? Thx for helping out

Krolken commented 4 years ago

Did you get any response from the Visma team?

ripxorip commented 4 years ago

Not yet, I will send them another message.

Krolken commented 3 years ago

Closing due to inactivity