18 lines
643 B
Markdown
18 lines
643 B
Markdown
---
|
||
title: "OAuth"
|
||
type: concept
|
||
tags: [authentication, authorization, google]
|
||
sources: []
|
||
---
|
||
|
||
## Definition
|
||
OAuth(开放授权)是一种授权机制,允许第三方应用在获得用户授权后访问其 Google 账号中的敏感信息,而无需提供密码。
|
||
|
||
## Context
|
||
- 在 gog CLI 配置中用于授权访问 Google Workspace 六大服务
|
||
- Google OAuth 需要创建 OAuth 客户端 ID 并下载 credentials.json
|
||
- 未验证的 Google 应用需要添加测试用户才能完成授权
|
||
|
||
## Connections
|
||
- [[GOG-CLI-安装配置指南]] ← 授权机制于 ← [[OAuth]]
|
||
- [[Google-Cloud-Console]] ← 创建凭证于 ← [[OAuth]] |