Public Repository

Last pushed: 2 years ago
Short Description
Webserver to handle HubiC oAuth process
Full Description

HubiC oAuth webserver

A very simple web server in Go to handle HubiC oAuth process.


sudo docker run -dt --name hubicoauth -p $HOST_PORT:8085 francisbouvier/hubicoauth

Proxy configuration

This web server is meant to be used behind a reverse proxy, like Nginx or Apache.
The reverse proxy will have to handle SSL as HubiC requires https for the redirection uri.

Here is a configuration example for Nginx:

server {
    listen 80;
    server_name $HOST;

    location / {
        return 301 https://$server_name$request_uri;

server {
    listen 443 ssl;
    server_name $HOST;

    ssl_certificate fullchain.pem;
    ssl_certificate_key privkey.pem;

    location / {
        proxy_pass http://localhost:$HOST_PORT/;
        proxy_set_header Host $host;
Docker Pull Command

Comments (0)