ep_auth_session

Provides a route that authenticates the user with the provided sessionID parameter and redirects to the given padName

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ep_auth_session
601.1.12 years ago7 years agoMinified + gzip package size for ep_auth_session in KB

Readme

epauthsession
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.
!NPM versionnpm-imagenpm-url !node versionnode-imagenode-url !licenselicense-imagelicense-url !npm downloaddownload-imagedownload-url

Install

ep_auth_session
Restart your etherpad-lite instance to recognize the plugin.
Usage
Include an iframe with the src set to etherpad page /authsession?sessionID=SESSIONID&padName=PADNAME
<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>