Top Menu

Jump to content
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    Home
    • 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

      OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. Request always returns "Unauthenticated"

Request always returns "Unauthenticated"

Added by Alexander Chekushev over 5 years ago

Hi,

I am evaluating the API capabilities and strugling with the authentication.

OpenProject 10.3.2 (PostgreSQL), Cloud.

Following the Authentication section of the documentation:

I am trying to uthenticate using the basic auth.

So, I generated the API_KEY.

Than trying to send a request in Postman using basic auth authentication method:

Where both Username and Password = API_KEY

And I am getting 401 status code.

kind regards,

Alexander


Replies (2)

RE: Request always returns "Unauthenticated" - Added by Oliver Günther over 5 years ago

Hi Alexander,

you need to use the string apikey as the user. Your API key should only be the password.

Best

Oliver

RE: Request always returns "Unauthenticated" - Added by Alexander Chekushev over 5 years ago

Hi Oliver,

My bad. Misinterpreted the sentence in the docs.

It work fine now.

I appreciate! thank you!

Alexander

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