Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

woeterman94/ep_auth_session

 
 

Repository files navigation

ep_auth_session (samesite = none)

Fork from ep_auth_session but sets the samesite property to none in the cookie. 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.

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>

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%