Add support for client secrets.

[Completes #57606346]