是否可以使用 Gitlab 作为 oauth 提供者? [英] Is it possible to use Gitlab as an oauth provider?

查看:13
本文介绍了是否可以使用 Gitlab 作为 oauth 提供者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道可以通过外部提供商登录 Gitlab 比如 Github.但是,我想知道 Gitlab 的 oauth 是否可用于对我的应用程序的用户进行身份验证?

是否有我可以使用的 oauth 端点?

解决方案

既然建议应该是可以的"第三方应用的 Oauth 系统"似乎用 GitLab 7.7 (即将发布的)

<块引用><块引用>

拥有像 Github 这样的应用程序管理的 oauth 身份验证系统会很强大.

如果此功能出现在 Gitlab 上,开发人员将能够创建许多第三方应用程序,例如 Travis-CI 或 Scrutinizer,它们可以直接与Gitlab Connect"交互.系统,与 Github 或 Bitbucket 相同.

我们也应该管理授权范围(个人资料查看/编辑、组访问、项目访问等...).

GitLab 团队(管理员,Gitlab)回复 · 2014 年 12 月 22 日

在 GitLab 7.7 中完成

查看 GitLab 7.6 和 7.7 之间的差异 和:


2016 年 2 月编辑,补充链接:


注意:使用 GitLab 13.11(2021 年 4 月)

<块引用>

在组级别注册 OAuth 应用程序

群组所有者现在可以为群组注册 OAuth 应用程序.

以前,OAuth 应用程序只能由个人用户或在实例级别注册.

在组级别提供此功能可减轻实例管理员的管理负担,并消除对个人用户配置 OAuth 应用程序的依赖.

感谢来自 Siemens 的 GitLab 贡献者 Jonas Wälter 的出色工作,此功能现已在 13.11 中可用.

请参阅文档问题.

I know that it is possible to log into Gitlab with external providers such as Github. However, I was wondering if Gitlab's oauth can be used to authenticate users to my application?

Is there an oauth endpoint that I can use?

解决方案

It should be possible since the suggestion "Oauth system for third party application" seems completed with GitLab 7.7 (which is to be released)

It would be powerful to have an oauth authentication system with application management like Github.

If this feature appear on Gitlab, developers would be able to create many third party applications like Travis-CI or Scrutinizer who can Interact directly with a "Gitlab Connect" system, same as Github or Bitbucket.

We should manage authorization scope too (profile view / edit, group access, projects access etc...).

GitLab team (Admin, Gitlab) responded · Dec 22, 2014

Completed In GitLab 7.7

See the diff between GitLab 7.6 and 7.7 and:


February 2016 edit, complementary links:


Note: with GitLab 13.11 (April 2021)

Register OAuth applications at the group level

Group owners can now register OAuth applications for a group.

Previously, OAuth applications could only be registered by individual users or at the instance level.

Making this functionality available at the group level reduces the administrative burden for instance administrators and removes the dependency on individual users for the configuration of OAuth applications.

Thanks to the amazing work from GitLab contributor Jonas Wälter from Siemens, this feature is now available in 13.11.

See Documentation and Issue.

这篇关于是否可以使用 Gitlab 作为 oauth 提供者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆