Giter Club home page Giter Club logo

ep_sotauth's Introduction

ep_sotauth

Etherpad Lite plugin to trust authentication passed in from X-Forwarded-User HTTP header. This is useful when running behind a reverse proxy (a "series of tubes") that handles authentication. Do not use this plugin unless you have protected the server so that it can only be accessed from the reverse proxy.

ep_sotauth's People

Contributors

jrandall avatar ldidry avatar

Stargazers

Jayson de Groot avatar Jonas Westphal avatar Leho Kraav avatar Rui Carmo avatar syerram avatar

Watchers

Leho Kraav avatar Irina Colgiu avatar Roy Storey avatar Christopher Harrison avatar  avatar Sendu Bala avatar James Cloos avatar Sam Nicholls avatar Colin Nolan avatar Emyr James avatar Martin Pollard avatar Albertina Wong avatar Vivek Iyer avatar Gennadii Zakharov avatar Thomas Hickman avatar Jayson de Groot avatar  avatar Sorina Maciuca avatar Piyush Ahuja avatar  avatar  avatar  avatar

ep_sotauth's Issues

Could not access '/'

Hi,

I can access anything matching /^/(static|javascripts|pluginfw|favicon.ico|api)/ but I can't access / beside I authenticate correctly.
Here's the log for authenticating:

ep_sotauth.authenticate: deferring setting of username [ldidry] to CLIENT_READY for express_sid = n7pezj/bEykFIOGplGRDkhE4)

I got a patch that make it working for me and will do a pull request soon.
Regards.

not setting my username

I am not sure what this module is supposed to do, but it doesn't seem to be working for me. I have enabled it from the admin interface, and now I expected the pad to take my username in the users' box, but that box is still empty.

I am not sure I set this up properly. After looking at some documentation regarding X-Forwarded-User, I noticed it is not configured by default in apache, so I have added this to my apache configuration:

        RewriteCond %{REMOTE_USER} (.+)
        RewriteRule ^.*$ - [E=RU:%1]
        RequestHeader add X-Forwarded-User %{RU}e

... but it still doesn't work. Plus the admin interface still asks me for a password, which, with external authentication, is impossible to answer unless you manually add the user/pass combination manually to the settings.json - I was hoping this plugin would resolve this issue.

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.