Search code examples
securityoauth-2.0websphererestful-authentication

PasswordCheckFailedException: CWWIM4537E No principal is found from the 'Client01' principal name


I am trying to create a OAuth2.0 Authentication server using IBM Websphere. I have followed steps from here.

Steps:

  • Created OAuthProvider using OauthConfigSample.xml template.
  • Installed IBM provided EAR using installOAuth2Service.py.
  • enabled OAuth TAI.
  • Registered clients using the sample base.clients.xml file.

now I am trying to get the token using postman, but while authenticate via browser I am unable to authenticate and getting error (PasswordCheckFailedException: CWWIM4537E No principal is found from the 'Client01' principal name.).

I have already followed this answer.

Please guide.


Solution

  • Here is a working example you can follow, https://www.ibm.com/developerworks/websphere/techjournal/1305_odonnell1/1305_odonnell1.html