第 4 章 配置 OAuth 客户端
在 OpenShift Container Platform 中默认创建多个 OAuth 客户端。您还可以注册和配置其他 OAuth 客户端。
4.1. 默认 OAuth 客户端
复制链接链接已复制到粘贴板!
启动 OpenShift Container Platform API 时会自动创建以下 OAuth 客户端:
| OAuth 客户端 | 使用方法 | 
|---|---|
| 
								 | 
								使用可处理交互式登录的用户代理,在  | 
| 
								 | 
								使用可处理  | 
| 
								 | 使用本地 HTTP 服务器获取授权代码授权来请求令牌。 | 
- <namespace_route>是指命名空间路由。运行以下命令可以找到:- oc get route oauth-openshift -n openshift-authentication -o json | jq .spec.host - $ oc get route oauth-openshift -n openshift-authentication -o json | jq .spec.host- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow