Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth Provider: Google #422

Open
hhstore opened this issue Apr 26, 2024 · 8 comments
Open

OAuth Provider: Google #422

hhstore opened this issue Apr 26, 2024 · 8 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Apr 26, 2024

📖 Abstract:

  • ✅ 创建 Google OAuth 应用, 集成 Google OAuth 服务, 作为账号认证服务.

💯 Related:

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

创建 Google OAuth 应用 & 集成 Google OAuth 认证服务

流程:

  1. 注册 Gmail 账号
  2. Google 云创建一个 OAuth 应用, 也就是一个项目.
  3. 创建 OAuth 凭据, 也就是创建一个 OAuth 客户端 ID + Secret.

集成 Supabase:

官方文档:

Google 云管理入口:

p_2024-04-26_12-42-33

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

创建一个 Auth App 项目

  • 首次跳转 Google cloud 管理后台, 会提示创建.

创建凭据:

  • 创建凭据
image
  • 选择类型, 外部用户
image

创建成功:

  • 中间有些填表, 比如用户隐私链接, 可以暂时不填, 先一路保存. 是能完成创建的.
image

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

1

5 similar comments
@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Apr 26, 2024

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant