OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/docs/system-admin-guide/authentication/oauth-applications
Wieland Lindenthal b2bb7d430d Fixing typo in OAuth docs [ci skip] 4 years ago
..
README.md Fixing typo in OAuth docs [ci skip] 4 years ago
Sys-admin-authentication-add-oauth-application.png Move help into docs 5 years ago
Sys-admin-authentication-oauth-postman.png Add oauth endpoints and Postman oauth to docs 5 years ago
Sys-admin-authentication-other-settings.png Move help into docs 5 years ago
Sys-admin-authentication-passwords-1579791010597.png Move help into docs 5 years ago
Sys-admin-authentication-passwords.png Move help into docs 5 years ago
Sys-admin-authentication-registration-footer.png Move help into docs 5 years ago
Sys-admin-authentication-settings.png Move help into docs 5 years ago
Sys-admin-authenticatoin-oauth-applications.png Move help into docs 5 years ago

README.md

sidebar_navigation description robots keywords
[{title OAuth applications} {priority 900}] OAuth application settings in OpenProject. index, follow OAuth application settings

OAuth applications

To activate and configure oauth applications, navigate to -> Administration -> Authentication and choose -> Oauth applications.

Add a new authentication application for oauth

To add a new oauth application, click the green + Add button.

Sys-admin-authenticatoin-oauth-applications

You can configure the following options to add your oauth application.

  1. Enter the name of your oauth application.
  2. Define redirect URLs where authorized users can be redirected to.
  3. Check if the application will be used confidentially.
  4. Choose client credential flows and define a user on whose behalf requests will be performed.
  5. Press the blue Create button to add your oauth application.

Sys-admin-authentication-add-oauth-application

Oauth endpoints

The authentication endpoints are at

  • Auth URL: https://example.com/oauth/authorize
  • Access Token URL: https://example.com/oauth/token

Performing request to the OpenProject API with OAuth token

The following CURL command fetches all projects from the API V3:

curl --location --request GET 'https://example.com/api/v3/projects' --header 'Authorization: Bearer <your-access-token>'

Using Postman with oauth?

Set redirect URLs to urn:ietf:wg:oauth:2.0:oob in both, for your application (see step 2 above) and within Postman.

In Postman the configuration should look like this (Replace {{protocolHostPort}} with your host, i.e. https://example.com)

Sys-admin-authentication-add-oauth-application