do you plan to support other flows in addition to Authorization code flow?
I am trying to authorize from desktop application written in 4D using built-in HTTP client commands (more or less like using cURL). I get the login page and when I try to post the form I am getting error. I tried sending cookies back, I figured out that there is hidden field in form that I fill form modelJson present in the page. All I get is error: "Ett oväntat fel inträffade".
Before I continue trying, is that possible at all?
P.S. I don't know if you aware, but by using only this flow it will be impossible to use your API from iOS applications.
if if that is the case, could you be so kind to give me an example, let’s say using cURL, how can I authorize and later get tokens to use API from desktop application without user clicking on Login button in the form?
How I understood my friend who is iOS developer if you want to do the same what I want to do (authorize without user clicking on login button but using code only pretending that it is web browser on it’s side), to implement Authorization code flow it would be necessary to launch another Safari process which is forbidden on iOS.
If you are considering to make a client with no user-click, that would not be possible in eAccounting API.
The reason is that we have decided that for our API we will only support authorization code flow.
I can imagine, as a few other of our customers, you would like to use something like "password flow" or "implicit flow" where you can request a token without any user-clicking, but we do not support this.
The switchboard is open on weekdays from 08:00 to 16:00 (GMT +1)
0277 Oslo, Norway
Tel: +47 46 40 40 00
Copyright © 2019 Visma.com. All rights reserved.