An administrator is troubleshooting an OAuth authentication failure where users receive an error indicating invalid credentials against an HTPasswd provider. Which TWO steps or checks are critical for resolving this issue? (Choose TWO)
The HTPasswd identity provider requires its Secret to reside in the openshift-config namespace; the OAuth server only reads credentials from there. A Secret placed elsewhere leaves the provider unable to validate passwords, producing the invalid credentials error. Confirming this namespace satisfies the stem's configuration constraint.
Why this answer
Option A is correct because in OpenShift, the OAuth provider configuration references the htpasswd Secret by name, and that Secret must reside in the openshift-config namespace for the OAuth server to read and use it; a Secret placed elsewhere will not be picked up and authentication will fail. Option D is correct because the htpasswd file must contain password hashes in a format the OAuth htpasswd identity provider supports, such as bcrypt (or the other supported crypt/SSHA variants), and an unsupported or malformed hash causes credential validation to fail even when the username is correct. Option B is not required because the OAuth server reads the referenced Secret dynamically, so restarting the kube-apiserver static pods is neither necessary nor the correct remediation.
Option C is wrong because cluster-admin privileges are unrelated to credential validation and are not assigned automatically to all users. Option E is wrong because there is no such required label on the htpasswd Secret; the provider is bound to the Secret through the OAuth custom resource's htpasswd configuration, not through that label.
Exam trap
EX280 often tests the namespace requirement for identity provider Secrets (openshift-config) and the supported hash algorithm (bcrypt) — candidates incorrectly assume any namespace works or that MD5/crypt hashes are fine.