Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008926TestLinkOAuth2public2020-05-23 15:192020-05-23 15:26
Reporterfman 
Assigned Tofman 
PrioritynormalSeverityfeature requestReproducibilityN/A
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.9.20_fixed 
Fixed in Version 
Summary0008926: Gitlab OAuth2 Authentication
DescriptionSuggested by user

Implemented using https://github.com/thephpleague/oauth2-client [^]


Working Configuration example

# Some useful examples/documentation
# https://docs.gitlab.com/ce/api/oauth2.html [^]
# https://grafana.com/docs/grafana/latest/auth/gitlab/ [^]

# Libraries used to create client
# https://github.com/thephpleague/oauth2-client [^]
# https://github.com/omines/oauth2-gitlab [^]
#
$tlCfg->OAuthServers[2]['oauth_enabled'] = true;
$tlCfg->OAuthServers[2]['oauth_name'] = 'gitlab';
$tlCfg->OAuthServers[2]['oauth_client_id'] =
'27a03c93d60b5ddb4e0cef92149678fbe37c099733605e046a5428a9da4177ba';
$tlCfg->OAuthServers[2]['oauth_client_secret'] = 'c157df291b81dbfd8084d38b155029baded3cf76c7449670bd2da889fe8b99eb';

$tlCfg->OAuthServers[2]['redirect_uri'] = 'http://fman.hopto.org/login.php?oauth=gitlab'; [^]
TagsNo tags attached.
Database (MySQL,Postgres,etc)N/A
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-05-23 15:19 fman New Issue
2020-05-23 15:19 fman Status new => assigned
2020-05-23 15:19 fman Assigned To => fman
2020-05-23 15:26 fman Description Updated View Revisions



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker