NGINX Reverse Proxy with OAuth2 to Google and Facebook plus Basic auth

Dieses Projekt wurde von mehedisiam für $444 USD in 3 Tagen erfolgreich abgeschlossen.

Erhalten Sie kostenlose Angebote für ein Projekt wie dieses
Arbeitgeber arbeiten
Abgeschlossen von:
Erforderliche Fähigkeiten
$100 - $750 USD
Abgeschlossen in
3 Tagen

Current Setup:

I am running Ubuntu [url removed, login to view] LTS. On this, openresty is in place as ngingx reverse proxy. The content behind is password protected and user specific. So users gets one or many subdomain(s) of their own any may only access these subdomains. It needs to be made sure that they can not access any other ressources, that they are not permitted to access. This mapping can be provided based on a database. I have been using Basic auth so far, and authenticated users against a MySQL Database.


I want to increase security, and implement alternative authentication options. It should be possible to authenticate using the Google Authenticator and using facebook. It would be great if other OAuth2 compatible providers could be added, like this is done e.g. on [url removed, login to view] If you can implement an SMS authentication would be a big bonus. My current routines used lua scripting and caching to memcache. This is somehow outdated, and it needs to be rewritten, too. So the new server has a local redis installation, that could be used for caching. The perfect solution would allow for a transparent choice of the authentication mechanism. So when the user provides basic auth, use and process this one. If not, bring up a screen showing the available options like google, facebook etc. When the user has successfully authenticated, I need his username and the ressource accessed back in nginx / lua variables, as I need to route the user according to this.

Your job:

You will set up a Ubuntu 16.04. server for development or work on a VM I provide access to. Your choice. You will build a working reverse proxy solution meeting the requirements stated above. First milestone will be access to a working solution, second milestone will be everything working on my server.

Möchten Sie Geld verdienen?

  • Legen Sie Ihr Budget und Ihren Zeitraum fest
  • Skizzieren Sie Ihr Angebot
  • Bekommen Sie Geld für Ihre Arbeit

Heuern Sie Freelancer an, die auch auf dieses Projekt geboten haben

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online