Project

General

Profile

Bug #26312

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

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

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

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

Related to Foreman - Bug #21292: Users authenticated via external sources (Kerberos) contain no default context/location New2017-10-11
Related to Foreman - Tracker #28345: SSO using OpenID ConnectNew

Associated revisions

Revision 1424a543 (diff)
Added by Rahul Bajaj over 3 years ago

Fixes #26312 - assign an Org/Loc for external users

History

#1 Updated by Tomer Brisker about 4 years ago

  • Category set to Authentication

#2 Updated by The Foreman Bot over 3 years ago

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

#3 Updated by Tomer Brisker over 3 years ago

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

#4 Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 1.24.0 added

#5 Updated by Rahul Bajaj over 3 years ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Rahul Bajaj over 3 years ago

#7 Updated by The Foreman Bot over 3 years ago

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

Also available in: Atom PDF