Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. api authentication

api authentication

Added by Fidel Perez Celorio over 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)

RE: api authentication - Added by Jens Ulferts over 4 years ago

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

RE: api authentication - Added by Fidel Perez Celorio over 4 years ago

What about using the apikey? Is the same case?

Thaks in adavence

RE: api authentication - Added by Max Mutzge over 4 years ago

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

  • (1 - 3/3)
Loading...