Content
You are here:
api authentication
Added by Fidel Perez Celorio about 4 years ago
Hello there.
im trying to create Projects, WorkPackages, etc. using api v3. i tried APIKey (generated with an admin user) authorization but it do not have permissions. so i tried using oauth with user credentials to have the permissions and i can do everything. But when create a project the user creator is the admin user i authenticate through oauth so the same admin user. what i want to do is to create the project (or whatever im creating) passing the real user that is actually creating the project and not the admin user.
is there a way to get this done?
regards
Replies (3)
Hi Fidel,
the user with whose credentials an API is authenticating will always be the creator of a project and work package. There is no way to use one account and create anything in the name of a different user.
Regards
Jens
What about using the apikey? Is the same case?
Thaks in adavence
Hello Fidel,
our API documentation has been reworked and extended. You can find it here: https://docs.openproject.org/api/ I hope this helps.
If not feel free to ask here again.
Kind regards
Matthias