nextcloud/core/css
Lukas Reschke 6a16df7288
Add new auth flow
This implements the basics for the new app-password based authentication flow for our clients.
The current implementation tries to keep it as simple as possible and works the following way:

1. Unauthenticated client opens `/index.php/login/flow`
2. User will be asked whether they want to grant access to the client
3. If accepted the user has the chance to do so using existing App Token or automatically generate an app password.

If the user chooses to use an existing app token then that one will simply be redirected to the `nc://` protocol handler.
While we can improve on that in the future, I think keeping this smaller at the moment has its advantages. Also, in the
near future we have to think about an automatic migration endpoint so there's that anyways :-)

If the user chooses to use the regular login the following happens:

1. A session state token is written to the session
2. User is redirected to the login page
3. If successfully authenticated they will be redirected to a page redirecting to the POST controller
4. The POST controller will check if the CSRF token as well as the state token is correct, if yes the user will be redirected to the `nc://` protocol handler.

This approach is quite simple but also allows to be extended in the future. One could for example allow external websites to consume this authentication endpoint as well.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-25 20:18:49 +02:00
..
images bower jquery-ui - exported changes to a separate css file 2014-12-13 09:47:34 +01:00
login Add new auth flow 2017-04-25 20:18:49 +02:00
lostpassword move lost controller to core/controller 2016-01-20 10:42:19 +01:00
apps.scss Merge pull request #4387 from nextcloud/fix-little-glitch 2017-04-19 14:45:48 -05:00
fixes.scss Add more styles to the server.scss 2017-03-09 15:36:03 -06:00
fonts.scss Add more styles to the server.scss 2017-03-09 15:36:03 -06:00
global.scss Add more styles to the server.scss 2017-03-09 15:36:03 -06:00
guest.css Fix login page, because only guest.css is loaded now 2017-03-10 14:43:14 -06:00
header.scss Fix loading spinner for new app menu 2017-04-25 17:31:25 +02:00
icons.scss Fix AdBlock blocking share icon, ref #866 2017-04-12 15:04:12 +02:00
inputs.scss Fix AdBlock blocking share icon, ref #866 2017-04-12 15:04:12 +02:00
jquery-ui-fixes.css Removed jquery scss 2017-01-10 11:06:03 +01:00
jquery.ocdialog.css move more sizing logic to css 2016-11-28 14:05:46 +01:00
mobile.scss Add more styles to the server.scss 2017-03-09 15:36:03 -06:00
multiselect.scss SCSS colors in multiselect.scss 2017-03-20 12:49:06 +01:00
server.scss Add more styles to the server.scss 2017-03-09 15:36:03 -06:00
share.scss Improve menu CSS 2017-04-19 12:42:23 -05:00
styles.scss Merge pull request #4388 from nextcloud/remove-unused-stuff 2017-04-19 14:45:32 -05:00
systemtags.scss Everyone gets a copyright! 2017-01-25 14:13:28 +01:00
tooltip.scss SCSS colors in tooltip.scss 2017-03-20 12:49:06 +01:00
variables.scss Replace old color occurences with calculations 2017-03-20 12:49:08 +01:00