This topic is locked
[SOLVED]

 REST only users

11/22/2020 12:15:19 PM
PHPRunner General questions
M
MikeT author

Is it possible to grant some users only access via REST-API? (and not through the web/browser login).

admin 11/22/2020

We never had this kind of need and there is no such built-in functionality. You can prevent web logins adding your code to BeforeLogin event.
Here is the function that can help:

https://xlinesoft.com/phprunner/docs/rest-api-inrestapi.htm

M
MikeT author 11/22/2020

Thanks Sergey, missed that in the manual, sorry.