This commit adds support for OIDC auth to FM. By default, Keystone
is used for authentication and authorization. OIDC auth can be used
by providing the --stx-auth-type oidc option. The OIDC token is
read from the kubeconfig file.
Test Cases:
PASS: Ensure Keystone auth still works by specifying "keystone" auth
type and not providing an auth type at all
PASS: With OIDC auth type, ensure the client is sending the OIDC token
with the request
PASS: Ensure server returns correct response with valid OIDC token
PASS: Ensure server returns 401 for invalid OIDC token
PASS: Add debug statements and ensure token is cached when validation
is successful, and subsequent requests with the same token
is validated against cache as opposed to against dex
PASS: Initial install and bootstrap
Story: 2011511
Task: 53325
Change-Id: Iff39a7034dad0c9d6d7c2afd132566b6e09a00ef
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>