Forum

'user' was connecte...
 
Notifications
Clear all

'user' was connected through API and should not reach Application for same sessi

4 Posts
3 Users
0 Reactions
1,868 Views
(@aleleve)
Posts: 5
Active Member
Topic starter
 
[#6384]

Dear all,
I tried to use the web interface while testing some API requests but since the upgrade to 8.2.4, it raises an exception;

'user' was connected through API and should not reach Application for same session. May be a hacking attempt from IP 127.0.0.1

Is there a way to avoid it please without modifying the source code on each upgrade ?

All the best
Arnaud


 
Posted : 26 Nov 2019 15H02
(@babynus)
Posts: 14952
Member Admin
 

No,

It is a security we added to avoid use of API through cross sote scripting hacking.

If you want to test API and have a session opened, you must use different browsers.


 
Posted : 04 Dec 2019 13H34
(@antoine1003)
Posts: 36
Active Member
 

What if we need the API in a JS file that will use the same session? --'


 
Posted : 26 Feb 2020 19H58
(@babynus)
Posts: 14952
Member Admin
 

ProjeQtOr API is not designed for such use.
If you use same session, just use existing services (in /tool)


 
Posted : 26 Feb 2020 20H09
Share:

Scroll to Top