npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

ep_idea_review

v0.0.1

Published

Authenticating Etherpad-Lite pads using OpenID Connect

Downloads

6

Readme

ep_idea_review: Authenticating Etherpad-Lite pads using OpenID Connect for Idea Submission

A sample etherpad-lite plugin for authenticating Etherpad-Lite pads using OpenID Connect as implemented by the Apache module mod_auth_openidc.

Using this plugin etherpad lite can authenticate against Office 365 and other OIDC compatible cloud services.

Installation

In your etherpad-lite installation:

npm install https://github.com/meriac/ep_idea_review

Extend your Apache server virtual host config

<IfModule mod_ssl.c>
<VirtualHost *:443>
    # Enable Keep-Alive
    KeepAlive On
    KeepAliveTimeout 5
    MaxKeepAliveRequests 1000

    #
    # Don't forget your normal server config (SSL etc)
    #

    # Enable URL rewriting
    RewriteEngine on

    # Preserve original host
    ProxyPreserveHost On

    # Enable Proxying
    <Location "/pad/">
        RewriteCond %{QUERY_STRING} transport=websocket [NC]
        RewriteRule /socket.io/(.*) ws://localhost:9001/socket.io/$1 [P,L]

        ProxyPass "http://localhost:9001/" retry=0 timeout=30
        ProxyPassReverse http://localhost:9001/
    </Location>

    OIDCRedirectURI https://www.YOUR_ETHERPAD_SITE.com/login
    OIDCProviderMetadataURL https://login.microsoftonline.com/YOUR_O365_DOMAIN.com/v2.0/.well-known/openid-configuration

    OIDCScope "openid email profile"
    OIDCRemoteUserClaim preferred_username
    OIDCCookieHTTPOnly On
    OIDCResponseType id_token
    OIDCResponseMode form_post

    OIDCClientID client-id-as-defined-in-azure
    OIDCClientSecret client-secret-as-defined-in-azure
    OIDCCryptoPassphrase LONG_RANDOM_STRING

    # ensure to unset OIDC_CLAIM_* headers to prevent attacks
    RequestHeader unset OIDC_*

    # enabled security headers for protecting against cross site scripting
    Header always set X-Content-Type-Options nosniff
    Header always set X-Frame-Options DENY
    Header always set Strict-Transport-Security "max-age=31536000; preload"
</VirtualHost>
</IfModule>

Set up Apache modules

# become root
sudo -i -u root bash
# disable general-purpose proxying
cd /etc/apache2
echo "ProxyRequests Off" > conf-enabled/proxy-security.conf
# enable various apache modules
cd mods-enabled
ln -s ../mods-available/auth_openidc.load
ln -s ../mods-available/auth_openidc.conf
ln -s ../mods-available/proxy.conf
ln -s ../mods-available/proxy_http.load
ln -s ../mods-available/proxy_wstunnel.load
ln -s ../mods-available/proxy.load
ln -s ../mods-available/rewrite.load
ln -s ../mods-available/socache_shmcb.load
# install & restart apache
systemctl enable apache2.service
systemctl restart apache2.service
# return from root to default user account
exit