GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Hiberly/hiberly-api-gateway

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
hiberly_gateway
hiberly_gateway
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Hiberly GitLab API Gateway

This API gateway allows you to let your users use Hiberly on GitLab without giving access to your code.

The gateway has its own OAuth provider which Hiberly plugs in to. Schematically it works something like this:

Authentication:
                                                          
    Hiberly redirects user to Gateway (holds gateway token)
              |   |                                       
              |   |                                       
    Gateway (holds GitLab access token, which Hiberly never sees)                
              |   |                                       
              |   |                                       
    GitLab authorization process                         
                                                          
API request:                             
                                                          
    Hiberly makes request to Gateway                      
              |   |                                       
              |   |                                       
    Gateway checks token against DB,                           
       only allows certain endpoints and redacts others   
              |   |                                       
              |   |                                       
    GitLab API request                                    

You can see the exact endpoints and redacting in hiberly_gateway/urls.py

Getting started

docker-compose up

Run migrations

docker-compose exec web python manage.py migrate

Create an application (and send those credentials to us) docker-compose exec web python manage.py create_app

Create a GitLab app at https://gitlab.com/profile/applications

Edit the GitLab credentials with your own app credentials in settings.py

Done!

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.