Project

General

Profile

Bug #26312

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

Added by Nikhil Kathole over 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

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 10 months ago

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

History

#1 Updated by Tomer Brisker over 1 year ago

  • Category set to Authentication

#2 Updated by The Foreman Bot 10 months ago

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

#3 Updated by Tomer Brisker 10 months ago

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

#4 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 1.24.0 added

#5 Updated by Rahul Bajaj 10 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Rahul Bajaj 7 months ago

#7 Updated by The Foreman Bot 7 months ago

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

Also available in: Atom PDF