Project

General

Profile

Feature #1576

Implement oauth authentication and authorization

Added by Lukas Zapletal over 10 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

To fully integrate Katello, Foreman API must be accessible with oauth. Once oauth is enabled in the Foreman configuration and secret and token is given, Foreman should authenticate all requests with valid oauth and automatically authorize those requests as "admin". Separate role can be used for this, but all permission must be given. Katello is expected to be able to do anything.


Related issues

Related to Foreman - Feature #1301: Consider adding a per-user API keyClosed

Associated revisions

Revision fceb1f89 (diff)
Added by Petr Chalupa about 10 years ago

fixes #1576 - api v1 - oauth support

  • to use set and enable oauth in settings
  • correcting typo

History

#1 Updated by Lukas Zapletal over 10 years ago

We will be sending HTTP header called "foreman-user" set to the current logged Katello user. Once user is created in Katello, we will create it also in Foreman via API. So it is possible to work also "on behalf" of a user.

#2 Updated by Ohad Levy about 10 years ago

  • Target version set to 1.1

#3 Updated by Anonymous about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 8 years ago

  • Related to Feature #1301: Consider adding a per-user API key added

#5 Updated by Tomer Brisker over 2 years ago

  • Category changed from 47 to Plugin integration

Also available in: Atom PDF