Forum

'user' was connecte...
 
Notifications
Retirer tout

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

4 Posts
3 Utilisateurs
0 Reactions
1,867 Vu
(@aleleve)
Posts: 5
Active Member
Début du sujet
 
[#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


 
Posté : 26 Nov PM 15:1111
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 4 Déc PM 13:1212
(@antoine1003)
Posts: 36
Active Member
 

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


 
Posté : 26 Fév PM 19:022
(@babynus)
Posts: 14952
Membre Admin
 

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


 
Posté : 26 Fév PM 20:022
Share:
Retour en haut