https://github.com/kitconcept/plone6-autologin-extension
Extension that allows quick relogin while development
https://github.com/kitconcept/plone6-autologin-extension
Last synced: about 2 months ago
JSON representation
Extension that allows quick relogin while development
- Host: GitHub
- URL: https://github.com/kitconcept/plone6-autologin-extension
- Owner: kitconcept
- License: mit
- Created: 2019-06-08T09:56:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T08:46:02.000Z (over 3 years ago)
- Last Synced: 2026-04-25T15:35:29.658Z (about 2 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This is a browser (Chrome) extension for fast (re)login in a Plone 6 (Volto) site while in development. It's also handy in case that Plone kicked us out (ie. one day after last login passed) or in some strange cases that the HMR (Hot Module Reloading) provokes to loose the logged-in state.
## How it works
It perfoms a API call to the current opened tab site (seamless mode `++api++` as backend) or if it fails, to the Plone site in the default location (`http://localhost:8080/Plone` also in seamless mode) using the default admin `user:password` pair.
If the above fails, it also tries the acceptance (RobotFramework) testing server setup (used in Cypress tests) using as backend: `http://localhost:55001/plone` using the robot server testing `user:password`.
Just click on the extension button (Volto logo icon). If the request goes well, and you get authenticated, the page will reload and you'll be authenticated in it.
## Installation
1. Clone the repo in your machine.
2. Open your extensions settings in your browser.
3. Enable development mode
4. Add a new extension (`Load unpacked`) and point the browser to the location you've cloned the repo.
5. Add the extension button to your extension buttons pins
## Firefox
https://addons.mozilla.org/en-US/firefox/addon/plone-6-autologin-extension/