ep_auth_session_relative

1.1.0 • Public • Published

ep_auth_session_relative

A small script for etherpad-lite which provides a route that authenticates the user with the provided sessionID parameter and redirects to the given padName. Usefull when integrating etherpad in a application on a another domain.

This is a custom fork that omits the beginning slash (/) when composing the redirection URL.

NPM version node version license npm download

Install

ep_auth_session

Restart your etherpad-lite instance to recognize the plugin.

Usage

Include an iframe with the src set to etherpad page /auth_session?sessionID=SESSION_ID&padName=PAD_NAME

<iframe src="http://pad.test.de/auth_session?sessionID=SESSION_ID&padName=PAD_NAME" width="600" height="400"></iframe>

You can optionally include the groupID and lang as well

<iframe src="http://pad.test.de/auth_session?sessionID=SESSION_ID&groupID=GROUP_ID&padName=PAD_NAME&lang=LANGUAGE" width="600" height="400"></iframe>

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ep_auth_session_relative

      Weekly Downloads

      0

      Version

      1.1.0

      License

      MIT

      Unpacked Size

      5.23 kB

      Total Files

      5

      Last publish

      Collaborators

      • sitrox