{"id":21997561,"url":"https://github.com/stephane-klein/example-how-to-connect-oauth2-proxy-to-gitlab","last_synced_at":"2026-04-13T21:03:24.929Z","repository":{"id":99039790,"uuid":"300950815","full_name":"stephane-klein/example-how-to-connect-oauth2-proxy-to-gitlab","owner":"stephane-klein","description":"Example how to connect OAuth2 Proxy to self hosted GitLab instance","archived":false,"fork":false,"pushed_at":"2020-10-03T18:37:24.000Z","size":330,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T11:31:07.794Z","etag":null,"topics":["example","gitlab","oauth2-proxy"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephane-klein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-03T18:36:00.000Z","updated_at":"2020-10-03T18:39:27.000Z","dependencies_parsed_at":"2023-03-17T11:15:41.644Z","dependency_job_id":null,"html_url":"https://github.com/stephane-klein/example-how-to-connect-oauth2-proxy-to-gitlab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephane-klein","download_url":"https://codeload.github.com/stephane-klein/example-how-to-connect-oauth2-proxy-to-gitlab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056902,"owners_count":20553854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example","gitlab","oauth2-proxy"],"created_at":"2024-11-29T22:17:02.451Z","updated_at":"2026-04-13T21:03:24.868Z","avatar_url":"https://github.com/stephane-klein.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example how to connect OAuth2 Proxy to self hosted GitLab instance\n\nHow to connect [OAuth2 Proxy](https://oauth2-proxy.github.io/oauth2-proxy/) to self hosted GitLab instance.\n\nConfigure new [GitLab Application](https://docs.gitlab.com/ce/integration/oauth_provider.html):\n\n\u003cimg src='images/configure-gitlab-application.png' width='800' /\u003e\n\u003cbr /\u003e\n\n\u003cimg src='images/gitlab-oauth2-secret.png' width='800' /\u003e\n\nSet variable env in [`docker-compose.yml`](docker-compose.yml)\n\n```\n$ docker-compose up -d\n```\n\nGo to http://127.0.0.1:4180/ signin and you must see `I'm xxxxxxx`\n\nSome other urls:\n\n- http://127.0.0.1:4180/ping\n- http://127.0.0.1:4180/oauth2/sign_in\n- http://127.0.0.1:4180/oauth2/sign_out\n- http://127.0.0.1:4180/oauth2/userinfo\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-klein%2Fexample-how-to-connect-oauth2-proxy-to-gitlab/lists"}