Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • 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
    • 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums
  • Feature tour
    Feature tour
You are here:
  1. Forums
  2. General discussion

Content

Request always returns "Unauthenticated"

Added by Alexander Chekushev almost 4 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 almost 4 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 almost 4 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...