Git Product home page Git Product logo

orthus's Introduction

Orthus

Authentication in a reverse proxy for node.js

TODOS / Features

  • Reverse proxy all requests to another server
  • Login with Google OpenID
  • Refactor into proper controllers and models
  • Check logins vs user accounts
  • Have user accounts stored in some sort of DB, maybe even FS based
  • Proper login screen
  • Request Account screen including a name
  • Account admin screen (screen needs some styling work, ajax, mobile friendly)
  • Add token to forwarded requests with auth info
  • Real README, move these todos elsewhere
  • LOGO!

#####Longer Term

  • Sessions stored long term, in same DB as accounts
  • Protect only specific URL's
  • Support multiple simultaneous "virtual hosts" / URLs
  • Clustering
  • Devise auth bypass system (basic auth? URL param?)
  • Benchmarks

orthus's People

Contributors

seansaleh avatar gerow avatar

Stargazers

Guy Barnard avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

gerow

orthus's Issues

Pass the authenticated identifier to the proxied application

Sorry if you've already added this, but it would be super useful if the authenticated username was passed to the proxied application through a header. The normal way apache does this is to set REMOTE_USER to some kind of value.

I would imagine it would just be the email of the user, though it might be necessary to add some information about the auth type in front of it (like openid:[email protected]). I'm sure you already have some way of uniquely doing this, so it should be alright.

Doing this would allow an application to just trust that the REMOTE_USER is who the reverse proxy claims it is.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.