Project

General

Profile

Actions

Bug #26312

closed

[keycloak-UI] Could not specify default organization/location for users that come from keycloak

Added by Nikhil Kathole about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
-
Fixed in Releases:
Found in Releases:

Description

There is no way to specify for which org/loc user will be created in foreman.

Steps:
1. Configure keycloak as per https://www.theforeman.org/2018/06/using-saml-for-single-sign-on-to-foreman-through-keycloak.html
2. Create role in foreman with activation key view/delete/update/create permissions
3. Create usergroup in keycloak
4. Create usergroup with external usergroup as per keycloak and assign role created.
5. Login with user and visit activation key page.

Result:

Error 403 as user wont have org/loc assigned.

Expected :
Find a way to assign a default org/location to users that come from keycloak.


Related issues 2 (2 open0 closed)

Related to Foreman - Bug #21292: Users authenticated via external sources (Kerberos) contain no default context/location New10/11/2017Actions
Related to Foreman - Tracker #28345: SSO using OpenID ConnectNewRahul Bajaj

Actions
Actions #1

Updated by Tomer Brisker about 5 years ago

  • Category set to Authentication
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7046 added
Actions #3

Updated by Tomer Brisker over 4 years ago

  • Related to Bug #21292: Users authenticated via external sources (Kerberos) contain no default context/location added
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.24.0 added
Actions #5

Updated by Rahul Bajaj over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Rahul Bajaj over 4 years ago

Actions #7

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7219 added
Actions

Also available in: Atom PDF