ProjeQtOr free project management software - 'user' was connected through API and should not reach Application for same sessi - ProjeQtOr
 

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

More
26 Nov 2019 13:02 #1 by aleleve
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

Please Connexion or Create an account to join the conversation.

More
04 Déc 2019 11:34 #2 by babynus
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.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: aleleve

Please Connexion or Create an account to join the conversation.

More
26 Fév 2020 17:58 #3 by antoine1003
What if we need the API in a JS file that will use the same session? --'

Please Connexion or Create an account to join the conversation.

More
26 Fév 2020 18:09 #4 by babynus
ProjeQtOr API is not designed for such use.
If you use same session, just use existing services (in /tool)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.031 seconds