api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

WSO2AM 4.2.0 login failed while using LDAP secondary user stores

Open damoebius opened this issue 1 year ago • 0 comments

Description

It's impossible to login into admin/publisher/and devportal using LDAP secondary user stores. It works with the primary user store It works with both primary and secondary user stores in CARBON

Tried to login with :

  • myaccount
  • UserStoreDomain/myaccount
  • myaccount@mydomain

Steps to Reproduce

  1. Configure LDAP secondary user stores in CARBON image
  2. Check Users and Roles image
  3. Give ALL PERMISSIONS to all Roles image
  4. Configure scopes assignement in ADMIN image
  5. Try to login using secondary user stores

Fail !

Affected Component

APIM

Version

4.2.0

Environment Details (with versions)

RHEL 8 WSO2 4.2.0 distributed deployment gateway in docker control-plane in docker Docker 26.0.0

Relevant Log Output

TID: [-1234] [2024-04-05 07:24:19,292]  INFO {AUDIT_LOG} - Initiator : myaccount | Action : Login | Target : ApplicationAuthenticationFramework | Data : { "ContextIdentifier" : "17533d4b-6da9-454c-9ddb-47d50cd3218e","ServiceProviderName" : "apim_publisher","RequestType" : "oidc","RelyingParty" : "Dra8r34IYrec15dIPe8939xI9u0a","StepNo" : "1","User Agent" : "null","RemoteAddress" : "null","UserStoreDomain" : "MYDOMAIN.COM" } | Result : Failed

Related Issues

No response

Suggested Labels

publisher login

damoebius avatar Apr 05 '24 08:04 damoebius