I add a new token throught 2 ways:
+ On website : Site addministration-->Plugins-->Web services-->Manage token-->Add.
. Choose User
. Choose my service : in here, that is my_moodle_mobile_app
+ By webservice : http://<mysite>/login/token.php?username=<my user>&password=<my_pass>&service=my_moodle_mobile_app&moodlewsrestformat=json
With my_moodle_mobile_app is my External service.
In 2 ways, i have got this error :
"The user is not allowed for this service. First you need to allow this user on the my_moodle_mobile_app's allowed users administration page"
Anyone can help me?
Thanks in advance