goth 包提供了一种简单、清晰、规范的方式来为 Go Web 应用程序编写身份验证包。
请参阅 示例 文件夹中一个可供用户通过 Twitter、Facebook、Google Plus 等进行身份验证的工作应用程序。要运行此示例,您可以从 GitHub text $ git clone [email protected]:markbates/goth.git 中克隆源代码,或者使用 text $ go get github.com/markbates/goth ```text
$ cd goth/examples
$ go get -v
$ go build
$ ./examples
Auth0 提供程序没有将所有值分配给 goth.User
openidConnect: 根据发现文档的内容自动配置 PKCE
discord 提供程序需要 "identify" 作用域
VK 提供商对具有空 'email' 字段的用户返回错误
`twitterv2` 提供程序内部使用 OAuth 1.0a - 使用 X Free 计划时失败 (401 未授权)
会话 Cookie 设置不正确
2025 年 12 月的项目状态
在什么时候为 `goth`/`gothic` PKCE OAuth 流程生成代码挑战?
Azureadv2 提供程序无法正确映射电子邮件信息
在 Oauth 回调期间, Goth 返回错误 "无法找到与该请求匹配的会话"。