SAML authentication fails
Hi All,
We are configuring SAML authentication in weblogic 12c(service provider) with ping federate as identity provider.
Upon providing user credentials, response is received from identity provider to weblogic service provider but still authentication fails.
Upon reviewing noticed that in the deployment descriptor we have below details. This is causing authentication failures as it expects the user to be present in myrealm which is our
weblogic.xml:
<security-role-assignment>
<role-name>valid-users</role-name>
<principal-name>users</principal-name>
</security-role-assignment>
web.xml:
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>myrealm</realm-name>
</login-config>
<security-role>
<role-name>valid-users</role-name>
</security-role>
The expection is every user authenticated by ping federate IDP should be authenticated successfully. In our case, it does another check to see if the its a valid user in security realm.