{"id":16588,"date":"2012-01-25T12:51:06","date_gmt":"2012-01-25T12:51:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/autologin-links\/"},"modified":"2021-02-24T21:07:06","modified_gmt":"2021-02-24T21:07:06","slug":"autologin-links","status":"publish","type":"plugin","link":"https:\/\/sna.wordpress.org\/plugins\/autologin-links\/","author":8848834,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.12.0","stable_tag":"trunk","tested":"5.6.17","requires":"4.9.8","requires_php":"","requires_plugins":"","header_name":"Autologin Links","header_author":"Paul Konstantin Gerke","header_description":"","assets_banners_color":"","last_updated":"2021-02-24 21:07:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.craftware.info\/projects-lists\/wordpress-autologin\/","header_author_uri":"http:\/\/www.craftware.info\/","rating":4.7,"author_block_rating":0,"active_installs":8000,"downloads":56631,"num_ratings":15,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.07":{"tag":"1.07","author":"WPAutoLogin","date":"2018-10-30 23:39:13"},"1.10.1":{"tag":"1.10.1","author":"WPAutoLogin","date":"2019-11-22 08:54:16"},"1.11.0":{"tag":"1.11.0","author":"WPAutoLogin","date":"2019-11-22 09:08:35"},"1.11.1":{"tag":"1.11.1","author":"WPAutoLogin","date":"2020-03-20 22:49:39"},"1.11.2":{"tag":"1.11.2","author":"WPAutoLogin","date":"2020-04-27 15:05:26"},"1.11.3":{"tag":"1.11.3","author":"WPAutoLogin","date":"2020-07-12 21:42:44"},"1.12.0":{"tag":"1.12.0","author":"WPAutoLogin","date":"2021-02-24 21:07:36"}},"upgrade_notice":{"":"<p>Until now, nothing of the backend has changed and everything should \nbe backwards compatible.<\/p>"},"ratings":{"1":1,"2":0,"3":0,"4":0,"5":14},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.07","1.10.1","1.11.0","1.11.1","1.11.2","1.11.3","1.12.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1355017,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1355017,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The profile element, allowing administrators to create autologin links for\nusers on their profile page. Codes are generated automatically for sercurity\nreasons.","2":"The administrator UI allowing administrators to generate autologin links\nthat redirect visitors to specific pages of a website. The screenshot\nshows the menu together with the popup window that allows copying of the\nredirect link."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[754,608,537,175,602],"plugin_category":[38],"plugin_contributors":[82807],"plugin_business_model":[],"class_list":["post-16588","plugin","type-plugin","status-publish","hentry","plugin_tags-auto","plugin_tags-automatic","plugin_tags-link","plugin_tags-links","plugin_tags-login","plugin_category-authentication","plugin_contributors-wpautologin","plugin_committers-wpautologin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/autologin-links.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/autologin-links\/assets\/screenshot-1.png?rev=1355017","caption":"The profile element, allowing administrators to create autologin links for\nusers on their profile page. Codes are generated automatically for sercurity\nreasons."},{"src":"https:\/\/ps.w.org\/autologin-links\/assets\/screenshot-2.png?rev=1355017","caption":"The administrator UI allowing administrators to generate autologin links\nthat redirect visitors to specific pages of a website. The screenshot\nshows the menu together with the popup window that allows copying of the\nredirect link."}],"raw_content":"<!--section=description-->\n<p>This plugin allows admininstators to generate autologin links for their \nWordPress website, logging in visitors under a certain user name. Administrators\ncan edit (generate and delete) autologin links for users, users can only view\ntheir autologin links. Note that <strong>This plugin bypasses the standard \nauthentication method of wordpress via login and password and should only be \nused if you understand the security issues mentioned below and on the \n<a href=\"http:\/\/www.craftware.nl\/wordpress-autologin\/\">plugin website<\/a>.<\/strong><\/p>\n\n<p><strong>Usage<\/strong><\/p>\n\n<p>Once this plugin is activated, administrators can generate autologin links on \nthe edit profile administration pages for different users. Users can view their\nautlogin links on their profile pages. Autologin links are of the form:<\/p>\n\n<p>http:\/\/yourwebsite\/&#091;subdirectory\/&#093;?autologin_code=ABC123<\/p>\n\n<p>For more convenience it is possible since version 1.05 to generate login links\ndirectly using the wordpress, site-preview functionality. When viewing the page\nwhile being logged in as an administrator, the top-bar will show an extra item\n\"Auto-login link\". When pointing at the menu item, a dropdown list will list\nall users for whom autologin links were generated on their profile pages. When\nclicking on one of the users, a popup will open showing the link that will \nautomatically login a visitor as the selected user and bring him to the\ncurrent page.<\/p>\n\n<p><strong>Security issues<\/strong><\/p>\n\n<p>Since autologin links are meant to be an OPEN way to login to \nyour website and can be viewed by users on their profile, it might be considered\nan INSECURE plugin for WordPress. I did my best to make it as secure as possible\nto fit my own needs, but this lead to some design choices which might not sit \nwell with all administrators:<\/p>\n\n<p><strong>Autologin codes are saved as plain text.<\/strong> This means that anyone who can \nexecute queries on the WordPress database (plugins, administrators, system\nadministrators) can obtain the autologin code for a certain user. I planned an\nextension of this plugin where login codes are hashed. However, this again has \nthe disadvantage that noone can redisplay a once generated login link.<\/p>\n\n<p>This is the most severe problem. For a full self-assesment of possible security\nissues regarding this problem, please visit the \n<a href=\"http:\/\/www.craftware.nl\/wordpress-autologin\/\">plugin website<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download autologin.zip<\/li>\n<li>Extract the contents of autologin.zip into \/wp-contents\/plugins<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li>How to contribute?<\/li>\n<\/ul>\n\n<p>I moved the development of the plugin\n<a href=\"https:\/\/github.com\/MrApplejuice\/wp-autologin-links\">to GitHub<\/a>. Please open\nissues or pull requests over there!<\/p>\n\n<!--section=changelog-->\n<h4>1.12.0<\/h4>\n\n<ul>\n<li>Feature: Add admin menu under Settings -&gt; Autlogin Links that allows to:<\/li>\n<li>Feature: Disable the \"generate autologin-link\" adminbar menu for good.<\/li>\n<li>Feature: Set the details of the new loging-lockout feature.<\/li>\n<li>Feature: (Security) Add limited number of login retries from a single remote \naddress. Remote IP addresses are blacklisted for certain amount of time after\ntoo many login failures. Can be disabled from the new menu.<\/li>\n<li>Fixed: Deleting autologin links was impossible after a recent wordpress update.<\/li>\n<\/ul>\n\n<h4>1.11.3<\/h4>\n\n<ul>\n<li>Fixed: When using the plugin on big websites, the plugin was obtaining a list of\nall users for the adminbar leading to OOM issues.<\/li>\n<li>Update language files and add Makefile generator to automate building all \ntranslation files.<\/li>\n<\/ul>\n\n<h4>1.11.2<\/h4>\n\n<ul>\n<li>Add support for X_FORWARDED_PREFIX to allow serving wordpress installations\nusing a proxy.<\/li>\n<li>Merged PR: Add custom filter for generating example urls called \n'pkg_autologin_links_sample_url_prefix'. Thanks to https:\/\/github.com\/mircobabini<\/li>\n<\/ul>\n\n<h4>1.11.1<\/h4>\n\n<ul>\n<li>Fix issue for double include of fuse_url_with_site_url<\/li>\n<\/ul>\n\n<h4>1.11.0<\/h4>\n\n<ul>\n<li>Add limit to the number of autologin-links shown in the admin \nmenu (GitHub issue #11)<\/li>\n<li>Add new constant PKG_AUTOLOGIN_VERSION allowing to check the \nautologin link version in-code<\/li>\n<li>Fix: spaced getting stripped from extra query parameters when\nadding a autologin link.<\/li>\n<\/ul>\n\n<h4>1.10.1<\/h4>\n\n<ul>\n<li>Fixed readme<\/li>\n<li>Added more testing platform to the intergation tests<\/li>\n<li>Small fix for old PHP version 5.5<\/li>\n<li>Add even more cache-prevention code<\/li>\n<li>Add JavaScript linter to debug JavaScript related issues earlier<\/li>\n<li>Fixed JavaScript bugs<\/li>\n<\/ul>\n\n<h4>1.10.0<\/h4>\n\n<ul>\n<li>Switched to Semver versioning scheme.<\/li>\n<li>Fixed accidental global namespace pollution<\/li>\n<li>Attempted fixing serving of seemingly cached websites when visting an autologin\nlink by sending no-cache headers when visiting a autologin link website.<\/li>\n<li>Autologin-links are now generated on the server via AJAX<\/li>\n<\/ul>\n\n<h4>1.09<\/h4>\n\n<ul>\n<li>Fixed vulnerability where autologin-links were verified with a case insensitive\ncomparison.<\/li>\n<\/ul>\n\n<h4>1.08<\/h4>\n\n<ul>\n<li>Added integration test suite<\/li>\n<li>Fix popup dialog for generating links with modern styles<\/li>\n<li>Implemented concatenation fix \".\" by Hannes Etzelstorfer\n\n<ul>\n<li>See: https:\/\/wordpress.org\/support\/topic\/php-7-7-1-compatibility\/<\/li>\n<\/ul><\/li>\n<li>Reorganized svn branches to make development and deployment easier<\/li>\n<li>Moved code development repository to GitHub:\n\n<ul>\n<li>https:\/\/github.com\/MrApplejuice\/wp-autologin-links<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.07<\/h4>\n\n<ul>\n<li>Fixed HTTP\/HTTPS protocol redirection. Special thanks at user @quiquoqua for noting.<\/li>\n<li>Updated website details.<\/li>\n<\/ul>\n\n<h4>1.06<\/h4>\n\n<ul>\n<li>Fixed long standing bug, not allowing one to update their profile page when \nan autologin link was set for the user.<\/li>\n<\/ul>\n\n<h4>1.05<\/h4>\n\n<ul>\n<li>New UI for administrators to generate autologin links for arbitrary pages<\/li>\n<li>Added screenshots<\/li>\n<li>Updated i10n files, however...<\/li>\n<li>TODO: ...i10n seems to be broken at the moment (.mo file is ignored)<\/li>\n<\/ul>\n\n<h4>1.04<\/h4>\n\n<ul>\n<li>Minor update of a line checking on invalid userid<\/li>\n<li>Major review checking if the code still is working with the newest version of\nWordpress which is should. I cannot find any vulnerabilities that are related\nto this plugin except for the ones mentioned in the module description.<\/li>\n<\/ul>\n\n<h4>1.03<\/h4>\n\n<ul>\n<li>Quick-fix was too quick, more inline directory strings changes were necessary<\/li>\n<\/ul>\n\n<h4>1.02<\/h4>\n\n<ul>\n<li>Fixed directory name to match conventions on wordpress.org<\/li>\n<\/ul>\n\n<h4>1.01<\/h4>\n\n<ul>\n<li>First published version<\/li>\n<\/ul>","raw_excerpt":"WARNING: THIS PLUGIN CAN BE INSECURE IF NOT USED CAUTIOUSLY. Allows selected users to autologin to your WordPress website via autologin links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16588"}],"author":[{"embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpautologin"}],"wp:attachment":[{"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16588"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16588"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16588"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16588"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16588"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sna.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}