Project

General

Profile

Bug #14720

User not shown error message when invalid email address copied from external auth source

Added by Bryan Kearney over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

If the email address is not updated correctly in the LDAP server then while logining in to satellite webui with same username fails to create user.

The error message from log:

2016-03-11 04:18:15 [I] Failed to save User 'sat6-user2' ["Email address is invalid"]
2016-03-11 04:18:15 [I] invalid user
2016-03-11 04:18:15 [I] Redirected to https://satellite.example.com/users/login
2016-03-11 04:18:15 [I] Completed 302 Found in 945ms (ActiveRecord: 2.7ms)

The customer's expectation is to have a page in which there is written the wrong parameter, asking to override it.
Or, at least, having a message in WEB GUI like "XXX (here email) parameter are not correct please correct it".


Related issues

Related to Foreman - Bug #15682: User with invalid email address from LDAP auth source still able to log inClosed
Has duplicate Foreman - Bug #15450: Handling invalid email format returned from an authentication sourceDuplicate2016-06-17

Associated revisions

Revision 714a42c5 (diff)
Added by Ashish Humbe about 4 years ago

Fixes #14720 - Handling invalid email from auth source

History

#1 Updated by Bryan Kearney over 4 years ago

  • Bugzilla link set to 1317745

#2 Updated by Dominic Cleal over 4 years ago

  • Subject changed from If the email address is not updated correctly in the LDAP server then while logining in to satellite webui with same username should throw valid error message. to User not shown error message when invalid email address copied from external auth source

#3 Updated by Dominic Cleal about 4 years ago

  • Has duplicate Bug #15450: Handling invalid email format returned from an authentication source added

#4 Updated by The Foreman Bot about 4 years ago

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

#5 Updated by Ashish Humbe about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal about 4 years ago

  • Assignee set to Ashish Humbe
  • Legacy Backlogs Release (now unused) set to 161

#7 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #15682: User with invalid email address from LDAP auth source still able to log in added

#8 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) changed from 161 to 160

Also available in: Atom PDF