可以将Gitlab用作oauth提供程序吗?

编程入门 行业动态 更新时间:2024-10-28 21:15:24
本文介绍了可以将Gitlab用作oauth提供程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

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?

我可以使用一个oauth端点吗?

Is there an oauth endpoint that I can use?

推荐答案

应该是可行的,因为建议"用于第三方应用程序的Oauth系统"似乎已完成 GitLab 7.7 (将要发布的)

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

拥有一个具有Github之类的应用程序管理功能的oauth身份验证系统将很强大.

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

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

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团队(管理员,Gitlab)做出回应·2014年12月22日

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

在GitLab 7.7中完成

Completed In GitLab 7.7

请参见 GitLab 7.6和7.7之间的区别和:

  • 提交ed932d8
  • 提交f9ece12

2016年2月修改,补充链接:

  • GitLab作为OAuth2身份验证服务提供商
  • GitLab作为OAuth2客户端
  • 门卫,GitLab用于实现OAuth的
  • GitLab as OAuth2 authentication service provider
  • GitLab as an OAuth2 client
  • Doorkeeper, what GitLab uses to implement OAuth

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

Note: with GitLab 13.11 (April 2021)

在组级别注册OAuth应用

组所有者现在可以为组注册OAuth应用程序. Register OAuth applications at the group level

Group owners can now register OAuth applications for a group.

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

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

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

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.

由于西门子的GitLab贡献者JonasWälter所做的出色工作,此功能现已在13.11中提供.

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

请参见文档和问题.

更多推荐

可以将Gitlab用作oauth提供程序吗?

本文发布于:2023-11-13 21:12:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1585331.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:程序   Gitlab   oauth

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!