Login to Nextcloud via HTTP POST
Перейти к файлу
Lukas Reschke 15d2d925bd Merge pull request #6 from nextcloud/stable11
Make compatible with stable11
2017-07-14 12:36:23 +02:00
Tests Replace all &redirect_url= 2017-07-14 12:28:49 +02:00
appinfo It's called Request on stable11 2017-07-14 11:37:48 +02:00
lib Fix parameter detection 2017-07-14 11:47:38 +02:00
.drone.yml Remove tests for PHP 7.1 on stable11 2017-07-13 19:19:45 +02:00
.gitignore Add .gitignore 2017-07-12 15:29:35 +02:00
LICENSE Initial commit 2017-07-12 15:21:17 +02:00
Makefile Override Request object in app.php 2017-07-13 19:04:00 +02:00
README.md Add codecov 2017-07-13 18:33:33 +02:00

README.md

Login to Nextcloud via HTTP POST request codecov

Warning: This plugin allows login CSRF by design. You are likely better off using a proper single-sign-on solution such as the Nextcloud SAML application.

Description

Login users to your Nextcloud with a simple HTTP POST request from another web page, the following form explains the usage of this plugin:

<html>
    <body>
        <form method="post" action="https://example.com/index.php/apps/loginviapost/login">
            <input type="text" name="username" />
            <input type="text" name="password" />
            <input type="submit" value="Submit" />
        </form>
    </body>
</html>