Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Fake authorization server for Data Food Consortium prototype

License

Notifications You must be signed in to change notification settings

datafoodconsortium/fake-auth-server-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorization App

This app is a fake authentication layer for the Data Food Consortium prototype.

What's inside ?

Requirements

This project needs Docker.

How to use ?

The application uses environment variables to customize the authorization interface (name, background color and logo).

# build the docker image
docker build . -t dfc/fake-auth-server-php

# start a container mapping to host port 8001
docker run -it --rm \
    -p '8001:8000' \
    -e PLATFORM_NAME='La Ruche qui dit Oui !' \
    -e PLATFORM_BGCOLOR='#FBCF06' \
    -e PLATFORM_LOGO='https://laruchequiditoui.fr/favicon.ico' \
    dfc/fake-auth-server-php

# browse!
xdg-open http://localhost:8001

A Makefile is provided to help with those steps:

make build

make start-lrqdo
make start-ofn

make stop-lrqdo
make stop-ofn

About

Fake authorization server for Data Food Consortium prototype

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages